#
# PWG ippserver functional test :
#   configuration file with all claimed supported data types and values
#
# Copyright 2017 Printer Working Group
#

MAKE "PWG"
MODEL "ippserver data type support test conf file"

AUTHTYPE None

##############################################
# PWG ippserver basic types test attributes
##############################################
#
# These are PWG "vendor-specific" attribute definitions that should be definable
# and representable by ippserver. If there are errors then something is broken.
# 

#ATTR	admin-define		pwg-test-admin-define-type
#ATTR	admin-define		pwg-test-admin-define-type-one-set

ATTR	boolean				pwg-test-boolean-type 				true
ATTR	boolean				pwg-test-boolean-type-one-set 		false,true

ATTR	charset				pwg-test-charset-type				utf-8
ATTR	charset				pwg-test-charset-type-one-set		US-ASCII,utf-8,ISO-8859-1

ATTR	collection			pwg-test-collection-type
{
	MEMBER integer pwg-member-integer 69
	MEMBER integer pwg-member-integer-set 69,42,99
}
ATTR	collection			pwg-test-collection-type-one-set
{
	MEMBER integer pwg-member-integer 69
	MEMBER integer pwg-member-integer-set 69,42,99
},
{
	MEMBER integer pwg-member-integer 69
	MEMBER integer pwg-member-integer-set 69,42,99
}

ATTR	dateTime			pwg-test-dateTime-type				2016-03-07T13:55:30Z
ATTR	dateTime			pwg-test-dateTime-type-one-set		2016-03-07T13:55:30Z,2017-06-05T14:14:49-0800

# ATTR	default				pwg-test-default-type
# ATTR	default				pwg-test-default-type-one-set

# ATTR	delete-attribute	pwg-test-delete-attribute-type
# ATTR	delete-attribute	pwg-test-delete-attribute-type-one-set

ATTR	enum				pwg-test-enum-type					1
ATTR	enum				pwg-test-enum-type-one-set			2,3,4

ATTR	integer				pwg-test-integer-type				1234567
ATTR	integer				pwg-test-integer-type-one-set		-2147483648,-1,0,1,2147483647

ATTR	keyword				pwg-test-keyword-type				pwg-test-keyword-1
ATTR	keyword				pwg-test-keyword-type-one-set		pwg-test-keyword-2,pwg-test-keyword-3

ATTR	mimeMediaType		pwg-test-mimeMediaType-type			text/plain # "text/plain; charset = utf-8"
ATTR	mimeMediaType		pwg-test-mimeMediaType-type-one-set	image/pwg-raster,image/jpeg,text/plain

# ATTR	nameWithLanguage	pwg-test-nameWithLanguage-type				An unquoted name with spaces
# ATTR	nameWithLanguage	pwg-test-nameWithLanguage-type-one-set

ATTR	nameWithoutLanguage	pwg-test-nameWithoutLanguage-type			"A quoted name with spaces"
ATTR	nameWithoutLanguage	pwg-test-nameWithoutLanguage-type-one-set	"A quoted name with spaces in a set","Another quoted name with spaces in a set"

ATTR	naturalLanguage		pwg-test-naturalLanguage-type			en-us
ATTR	naturalLanguage		pwg-test-naturalLanguage-type-one-set	fr,fr-ca,de,zh-cn

ATTR	no-value			pwg-test-no-value-type				# no value
# ATTR	no-value			pwg-test-no-value-type-one-set

ATTR	not-settable		pwg-test-not-settable-type			# no value
# ATTR	not-settable		pwg-test-not-settable-type-one-set

ATTR	octetString			pwg-test-octetString-type 			code=unknown;severity=other;group=other
ATTR	octetString			pwg-test-octetString-type-one-set 	code=unknown;severity=other;group=other,code=unknown;severity=other;group=other,code=unknown;severity=other;group=other,code=unknown;severity=otherother,code=unknown;severity=otherother,code=printerReadyToPrint;severity=other;group=generalPrinter,code=unknown;severity=other;group=other,code=unknown;severity=other;group=other

ATTR	rangeOfInteger		pwg-test-rangeOfInteger-type			0-200
ATTR	rangeOfInteger		pwg-test-rangeOfInteger-type-one-set	-1100-2200,0-41502

ATTR	resolution			pwg-test-resolution-type			600dpi
ATTR	resolution			pwg-test-resolution-type-one-set	300dpi,600dpi

# ATTR	textWithLanguage	pwg-test-textWithLanguage-type
# ATTR	textWithLanguage	pwg-test-textWithLanguage-type-one-set

ATTR	textWithoutLanguage	pwg-test-textWithoutLanguage-type			"A quoted text blob with spaces"
ATTR	textWithoutLanguage	pwg-test-textWithoutLanguage-type-one-set	"A quoted text blob with spaces","Another quoted text blob with spaces"

ATTR	unknown				pwg-test-unknown-type				# no value
# ATTR	unknown				pwg-test-unknown-type-one-set

ATTR	unsupported			pwg-test-unsupported-type			# no value
# ATTR	unsupported			pwg-test-unsupported-type-one-set

ATTR	uri					pwg-test-uri-type					ipps://cloudprint.pwg.org/my-cool-printer
ATTR	uri					pwg-test-uri-type-one-set			https://www.pwg.org/ipp/everywhere.html,mailto:chair@pwg.org

ATTR	uriScheme			pwg-test-uriScheme-type				http
ATTR	uriScheme			pwg-test-uriScheme-type-one-set		http,https,mailto,ssh
