[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","title":"DataContractSpecification","properties":{"dataContractSpecification":{"type":"string","title":"DataContractSpecificationVersion","enum":["1.1.0","0.9.3","0.9.2","0.9.1","0.9.0"],"description":"Specifies the Data Contract Specification being used."},"id":{"type":"string","description":"Specifies the identifier of the data contract."},"info":{"type":"object","properties":{"title":{"type":"string","description":"The title of the data contract."},"version":{"type":"string","description":"The version of the data contract document (which is distinct from the Data Contract Specification version or the Data Product implementation version)."},"status":{"type":"string","description":"The status of the data contract. Can be proposed, in development, active, retired.","examples":["proposed","in development","active","deprecated","retired"]},"description":{"type":"string","description":"A description of the data contract."},"owner":{"type":"string","description":"The owner or team responsible for managing the data contract and providing the data."},"contact":{"type":"object","properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","format":"uri","description":"The URL pointing to the contact information. This MUST be in the form of a URL."},"email":{"type":"string","format":"email","description":"The email address of the contact person/organization. This MUST be in the form of an email address."}},"description":"Contact information for the data contract.","additionalProperties":true}},"additionalProperties":true,"required":["title","version"],"description":"Metadata and life cycle information about the data contract."},"servers":{"type":"object","description":"Information about the servers.","additionalProperties":{"$ref":"#/$defs/BaseServer","allOf":[{"if":{"properties":{"type":{"const":"bigquery"}}},"then":{"$ref":"#/$defs/BigQueryServer"}},{"if":{"properties":{"type":{"const":"postgres"}},"required":["type"]},"then":{"$ref":"#/$defs/PostgresServer"}},{"if":{"properties":{"type":{"const":"s3"}},"required":["type"]},"then":{"$ref":"#/$defs/S3Server"}},{"if":{"properties":{"type":{"const":"sftp"}},"required":["type"]},"then":{"$ref":"#/$defs/SftpServer"}},{"if":{"properties":{"type":{"const":"redshift"}},"required":["type"]},"then":{"$ref":"#/$defs/RedshiftServer"}},{"if":{"properties":{"type":{"const":"azure"}},"required":["type"]},"then":{"$ref":"#/$defs/AzureServer"}},{"if":{"properties":{"type":{"const":"sqlserver"}},"required":["type"]},"then":{"$ref":"#/$defs/SqlserverServer"}},{"if":{"properties":{"type":{"const":"snowflake"}},"required":["type"]},"then":{"$ref":"#/$defs/SnowflakeServer"}},{"if":{"properties":{"type":{"const":"databricks"}},"required":["type"]},"then":{"$ref":"#/$defs/DatabricksServer"}},{"if":{"properties":{"type":{"const":"dataframe"}},"required":["type"]},"then":{"$ref":"#/$defs/DataframeServer"}},{"if":{"properties":{"type":{"const":"glue"}},"required":["type"]},"then":{"$ref":"#/$defs/GlueServer"}},{"if":{"properties":{"type":{"const":"postgres"}},"required":["type"]},"then":{"$ref":"#/$defs/PostgresServer"}},{"if":{"properties":{"type":{"const":"oracle"}},"required":["type"]},"then":{"$ref":"#/$defs/OracleServer"}},{"if":{"properties":{"type":{"const":"kafka"}},"required":["type"]},"then":{"$ref":"#/$defs/KafkaServer"}},{"if":{"properties":{"type":{"const":"pubsub"}},"required":["type"]},"then":{"$ref":"#/$defs/PubSubServer"}},{"if":{"properties":{"type":{"const":"kinesis"}},"required":["type"]},"then":{"$ref":"#/$defs/KinesisDataStreamsServer"}},{"if":{"properties":{"type":{"const":"trino"}},"required":["type"]},"then":{"$ref":"#/$defs/TrinoServer"}},{"if":{"properties":{"type":{"const":"local"}},"required":["type"]},"then":{"$ref":"#/$defs/LocalServer"}}]}},"terms":{"type":"object","description":"The terms and conditions of the data contract.","properties":{"usage":{"type":"string","description":"The usage describes the way the data is expected to be used. Can contain business and technical information."},"limitations":{"type":"string","description":"The limitations describe the restrictions on how the data can be used, can be technical or restrictions on what the data may not be used for."},"policies":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the policy.","examples":["privacy","security","retention","compliance"]},"description":{"type":"string","description":"A description of the policy."},"url":{"type":"string","format":"uri","description":"A URL to the policy document."}},"additionalProperties":true},"description":"The limitations describe the restrictions on how the data can be used, can be technical or restrictions on what the data may not be used for."},"billing":{"type":"string","description":"The billing describes the pricing model for using the data, such as whether it's free, having a monthly fee, or metered pay-per-use."},"noticePeriod":{"type":"string","description":"The period of time that must be given by either party to terminate or modify a data usage agreement. Uses ISO-8601 period format, e.g., 'P3M' for a period of three months."}},"additionalProperties":true},"models":{"description":"Specifies the logical data model. Use the models name (e.g., the table name) as the key.","type":"object","minProperties":1,"propertyNames":{"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"object","title":"Model","properties":{"description":{"type":"string"},"type":{"description":"The type of the model. Examples: table, view, object. Default: table.","type":"string","title":"ModelType","default":"table","enum":["table","view","object"]},"title":{"type":"string","description":"An optional string providing a human readable name for the model. Especially useful if the model name is cryptic or contains abbreviations.","examples":["Purchase Orders","Air Shipments"]},"fields":{"description":"Specifies a field in the data model. Use the field name (e.g., the column name) as the key.","type":"object","additionalProperties":{"type":"object","title":"Field","properties":{"description":{"type":"string","description":"An optional string describing the semantic of the data in this field."},"title":{"type":"string","description":"An optional string providing a human readable name for the field. Especially useful if the field name is cryptic or contains abbreviations."},"type":{"$ref":"#/$defs/FieldType"},"required":{"type":"boolean","default":false,"description":"An indication, if this field must contain a value and may not be null."},"fields":{"description":"The nested fields (e.g. columns) of the object, record, or struct.","type":"object","additionalProperties":{"$ref":"#/properties/models/additionalProperties/properties/fields/additionalProperties"}},"items":{"$ref":"#/properties/models/additionalProperties/properties/fields/additionalProperties"},"keys":{"$ref":"#/properties/models/additionalProperties/properties/fields/additionalProperties"},"values":{"$ref":"#/properties/models/additionalProperties/properties/fields/additionalProperties"},"primary":{"type":"boolean","deprecationMessage":"Use the primaryKey field instead."},"primaryKey":{"type":"boolean","default":false,"description":"If this field is a primary key."},"references":{"type":"string","description":"The reference to a field in another model. E.g. use 'orders.order_id' to reference the order_id field of the model orders. Think of defining a foreign key relationship.","examples":["orders.order_id","model.nested_field.field"]},"unique":{"type":"boolean","default":false,"description":"An indication, if the value must be unique within the model."},"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true,"description":"A value must be equal to one of the elements in this array value. Only evaluated if the value is not null."},"minLength":{"type":"integer","description":"A value must greater than, or equal to, the value of this. Only applies to string types."},"maxLength":{"type":"integer","description":"A value must less than, or equal to, the value of this. Only applies to string types."},"format":{"type":"string","description":"A specific format the value must comply with (e.g., 'email', 'uri', 'uuid').","examples":["email","uri","uuid"]},"precision":{"type":"number","examples":[38],"description":"The maximum number of digits in a number. Only applies to numeric values. Defaults to 38."},"scale":{"type":"number","examples":[0],"description":"The maximum number of decimal places in a number. Only applies to numeric values. Defaults to 0."},"pattern":{"type":"string","description":"A regular expression the value must match. Only applies to string types.","examples":["^[a-zA-Z0-9_-]+$"]},"minimum":{"type":"number","description":"A value of a number must greater than, or equal to, the value of this. Only evaluated if the value is not null. Only applies to numeric values."},"exclusiveMinimum":{"type":"number","description":"A value of a number must greater than the value of this. Only evaluated if the value is not null. Only applies to numeric values."},"maximum":{"type":"number","description":"A value of a number must less than, or equal to, the value of this. Only evaluated if the value is not null. Only applies to numeric values."},"exclusiveMaximum":{"type":"number","description":"A value of a number must less than the value of this. Only evaluated if the value is not null. Only applies to numeric values."},"example":{"type":"string","description":"An example value for this field.","deprecationMessage":"Use the examples field instead."},"examples":{"type":"array","description":"A examples value for this field."},"pii":{"type":"boolean","description":"An indication, if this field contains Personal Identifiable Information (PII)."},"classification":{"type":"string","description":"The data class defining the sensitivity level for this field, according to the organization's classification scheme.","examples":["sensitive","restricted","internal","public"]},"tags":{"type":"array","items":{"type":"string"},"description":"Custom metadata to provide additional context."},"links":{"type":"object","description":"Links to external resources.","minProperties":1,"propertyNames":{"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","title":"Link","description":"A URL to an external resource.","format":"uri","examples":["https://example.com"]}},"$ref":{"type":"string","description":"A reference URI to a definition in the specification, internally or externally. Properties will be inherited from the definition."},"quality":{"type":"array","items":{"$ref":"#/$defs/Quality"}},"lineage":{"$ref":"#/$defs/Lineage"},"config":{"type":"object","description":"Additional metadata for field configuration.","additionalProperties":{"type":["string","number","boolean","object","array","null"]},"properties":{"avroType":{"type":"string","description":"Specify the field type to use when exporting the data model to Apache Avro."},"avroLogicalType":{"type":"string","description":"Specify the logical field type to use when exporting the data model to Apache Avro."},"bigqueryType":{"type":"string","description":"Specify the physical column type that is used in a BigQuery table, e.g., `NUMERIC(5, 2)`."},"snowflakeType":{"type":"string","description":"Specify the physical column type that is used in a Snowflake table, e.g., `TIMESTAMP_LTZ`."},"redshiftType":{"type":"string","description":"Specify the physical column type that is used in a Redshift table, e.g., `SMALLINT`."},"sqlserverType":{"type":"string","description":"Specify the physical column type that is used in a SQL Server table, e.g., `DATETIME2`."},"databricksType":{"type":"string","description":"Specify the physical column type that is used in a Databricks Unity Catalog table."},"glueType":{"type":"string","description":"Specify the physical column type that is used in an AWS Glue Data Catalog table."}}}}}},"primaryKey":{"type":"array","items":{"type":"string"},"description":"The compound primary key of the model."},"quality":{"type":"array","items":{"$ref":"#/$defs/Quality"}},"examples":{"type":"array"},"config":{"type":"object","description":"Additional metadata for model configuration.","additionalProperties":{"type":["string","number","boolean","object","array","null"]},"properties":{"avroNamespace":{"type":"string","description":"The namespace to use when importing and exporting the data model from / to Apache Avro."}}}}}},"definitions":{"description":"Clear and concise explanations of syntax, semantic, and classification of business objects in a given domain.","type":"object","propertyNames":{"pattern":"^[a-zA-Z0-9/_-]+$"},"additionalProperties":{"type":"object","title":"Definition","properties":{"domain":{"type":"string","description":"The domain in which this definition is valid.","default":"global","deprecationMessage":"This field is deprecated. Encode the domain into the ID using slashes."},"name":{"type":"string","description":"The technical name of this definition.","deprecationMessage":"This field is deprecated. Encode the name into the ID using slashes."},"title":{"type":"string","description":"The business name of this definition."},"description":{"type":"string","description":"Clear and concise explanations related to the domain."},"type":{"$ref":"#/$defs/FieldType"},"fields":{"description":"The nested fields (e.g. columns) of the object, record, or struct.","type":"object","additionalProperties":{"$ref":"#/properties/models/additionalProperties/properties/fields/additionalProperties"}},"items":{"$ref":"#/properties/models/additionalProperties/properties/fields/additionalProperties"},"keys":{"$ref":"#/properties/models/additionalProperties/properties/fields/additionalProperties"},"values":{"$ref":"#/properties/models/additionalProperties/properties/fields/additionalProperties"},"minLength":{"type":"integer","description":"A value must be greater than or equal to this value. Applies only to string types."},"maxLength":{"type":"integer","description":"A value must be less than or equal to this value. Applies only to string types."},"format":{"type":"string","description":"Specific format requirements for the value (e.g., 'email', 'uri', 'uuid')."},"precision":{"type":"integer","examples":[38],"description":"The maximum number of digits in a number. Only applies to numeric values. Defaults to 38."},"scale":{"type":"integer","examples":[0],"description":"The maximum number of decimal places in a number. Only applies to numeric values. Defaults to 0."},"pattern":{"type":"string","description":"A regular expression pattern the value must match. Applies only to string types."},"minimum":{"type":"number","description":"A value of a number must greater than, or equal to, the value of this. Only evaluated if the value is not null. Only applies to numeric values."},"exclusiveMinimum":{"type":"number","description":"A value of a number must greater than the value of this. Only evaluated if the value is not null. Only applies to numeric values."},"maximum":{"type":"number","description":"A value of a number must less than, or equal to, the value of this. Only evaluated if the value is not null. Only applies to numeric values."},"exclusiveMaximum":{"type":"number","description":"A value of a number must less than the value of this. Only evaluated if the value is not null. Only applies to numeric values."},"example":{"type":"string","description":"An example value.","deprecationMessage":"Use the examples field instead."},"examples":{"type":"array","description":"Example value."},"pii":{"type":"boolean","description":"Indicates if the field contains Personal Identifiable Information (PII)."},"classification":{"type":"string","description":"The data class defining the sensitivity level for this field."},"tags":{"type":"array","items":{"type":"string"},"description":"Custom metadata to provide additional context."},"links":{"type":"object","description":"Links to external resources.","minProperties":1,"propertyNames":{"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","title":"Link","description":"A URL to an external resource.","format":"uri","examples":["https://example.com"]}}},"required":["type"]}},"servicelevels":{"type":"object","description":"Specifies the service level agreements for the provided data, including availability, data retention policies, latency requirements, data freshness, update frequency, support availability, and backup policies.","properties":{"availability":{"type":"object","description":"Availability refers to the promise or guarantee by the service provider about the uptime of the system that provides the data.","properties":{"description":{"type":"string","description":"An optional string describing the availability service level.","example":"The server is available during support hours"},"percentage":{"type":"string","description":"An optional string describing the guaranteed uptime in percent (e.g., `99.9%`)","pattern":"^\\d+(\\.\\d+)?%$","example":"99.9%"}}},"retention":{"type":"object","description":"Retention covers the period how long data will be available.","properties":{"description":{"type":"string","description":"An optional string describing the retention service level.","example":"Data is retained for one year."},"period":{"type":"string","description":"An optional period of time, how long data is available. Supported formats: Simple duration (e.g., `1 year`, `30d`) and ISO 8601 duration (e.g, `P1Y`).","example":"P1Y"},"unlimited":{"type":"boolean","description":"An optional indicator that data is kept forever.","example":false},"timestampField":{"type":"string","description":"An optional reference to the field that contains the timestamp that the period refers to.","example":"orders.order_timestamp"}}},"latency":{"type":"object","description":"Latency refers to the maximum amount of time from the source to its destination.","properties":{"description":{"type":"string","description":"An optional string describing the latency service level.","example":"Data is available within 25 hours after the order was placed."},"threshold":{"type":"string","description":"An optional maximum duration between the source timestamp and the processed timestamp. Supported formats: Simple duration (e.g., `24 hours`, `5s`) and ISO 8601 duration (e.g, `PT24H`).","example":"25h"},"sourceTimestampField":{"type":"string","description":"An optional reference to the field that contains the timestamp when the data was provided at the source.","example":"orders.order_timestamp"},"processedTimestampField":{"type":"string","description":"An optional reference to the field that contains the processing timestamp, which denotes when the data is made available to consumers of this data contract.","example":"orders.processed_timestamp"}}},"freshness":{"type":"object","description":"The maximum age of the youngest row in a table.","properties":{"description":{"type":"string","description":"An optional string describing the freshness service level.","example":"The age of the youngest row in a table is within 25 hours."},"threshold":{"type":"string","description":"An optional maximum age of the youngest entry. Supported formats: Simple duration (e.g., `24 hours`, `5s`) and ISO 8601 duration (e.g., `PT24H`).","example":"25h"},"timestampField":{"type":"string","description":"An optional reference to the field that contains the timestamp that the threshold refers to.","example":"orders.order_timestamp"}}},"frequency":{"type":"object","description":"Frequency describes how often data is updated.","properties":{"description":{"type":"string","description":"An optional string describing the frequency service level.","example":"Data is delivered once a day."},"type":{"type":"string","enum":["batch","micro-batching","streaming","manual"],"description":"The method of data processing.","example":"batch"},"interval":{"type":"string","description":"Optional. Only for batch: How often the pipeline is triggered, e.g., `daily`.","example":"daily"},"cron":{"type":"string","description":"Optional. Only for batch: A cron expression when the pipelines is triggered. E.g., `0 0 * * *`.","example":"0 0 * * *"}}},"support":{"type":"object","description":"Support describes the times when support will be available for contact.","properties":{"description":{"type":"string","description":"An optional string describing the support service level.","example":"The data is available during typical business hours at headquarters."},"time":{"type":"string","description":"An optional string describing the times when support will be available for contact such as `24/7` or `business hours only`.","example":"9am to 5pm in EST on business days"},"responseTime":{"type":"string","description":"An optional string describing the time it takes for the support team to acknowledge a request. This does not mean the issue will be resolved immediately, but it assures users that their request has been received and will be dealt with.","example":"24 hours"}}},"backup":{"type":"object","description":"Backup specifies details about data backup procedures.","properties":{"description":{"type":"string","description":"An optional string describing the backup service level.","example":"Data is backed up once a week, every Sunday at 0:00 UTC."},"interval":{"type":"string","description":"An optional interval that defines how often data will be backed up, e.g., `daily`.","example":"weekly"},"cron":{"type":"string","description":"An optional cron expression when data will be backed up, e.g., `0 0 * * *`.","example":"0 0 * * 0"},"recoveryTime":{"type":"string","description":"An optional Recovery Time Objective (RTO) specifies the maximum amount of time allowed to restore data from a backup after a failure or loss event (e.g., 4 hours, 24 hours).","example":"24 hours"},"recoveryPoint":{"type":"string","description":"An optional Recovery Point Objective (RPO) defines the maximum acceptable age of files that must be recovered from backup storage for normal operations to resume after a disaster or data loss event. This essentially measures how much data you can afford to lose, measured in time (e.g., 4 hours, 24 hours).","example":"1 week"}}}}},"links":{"type":"object","description":"Links to external resources.","minProperties":1,"propertyNames":{"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","title":"Link","description":"A URL to an external resource.","format":"uri","examples":["https://example.com"]}},"tags":{"type":"array","items":{"type":"string","description":"Tags to facilitate searching and filtering.","examples":["databricks","pii","sensitive"]},"description":"Tags to facilitate searching and filtering."}},"required":["dataContractSpecification","id","info"],"$defs":{"FieldType":{"type":"string","title":"FieldType","description":"The logical data type of the field.","enum":["number","decimal","numeric","int","integer","long","bigint","float","double","string","text","varchar","boolean","timestamp","timestamp_tz","timestamp_ntz","date","array","map","object","record","struct","bytes","null"]},"BaseServer":{"type":"object","properties":{"description":{"type":"string","description":"An optional string describing the servers."},"environment":{"type":"string","description":"The environment in which the servers are running. Examples: prod, sit, stg."},"type":{"type":"string","description":"The type of the data product technology that implements the data contract.","enum":["bigquery","BigQuery","s3","sftp","redshift","azure","sqlserver","snowflake","databricks","dataframe","glue","postgres","oracle","kafka","pubsub","kinesis","trino","local"]},"roles":{"description":" An optional array of roles that are available and can be requested to access the server for role-based access control. E.g. separate roles for different regions or sensitive data.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the role."},"description":{"type":"string","description":"A description of the role and what access the role provides."}},"required":["name"]}}},"additionalProperties":true,"required":["type"]},"BigQueryServer":{"type":"object","title":"BigQueryServer","properties":{"project":{"type":"string","description":"The GCP project name."},"dataset":{"type":"string","description":"The GCP dataset name."}},"required":["project","dataset"]},"S3Server":{"type":"object","title":"S3Server","properties":{"location":{"type":"string","format":"uri","description":"S3 URL, starting with `s3://`","examples":["s3://datacontract-example-orders-latest/data/{model}/*.json"]},"endpointUrl":{"type":"string","format":"uri","description":"The server endpoint for S3-compatible servers.","examples":["https://minio.example.com"]},"format":{"type":"string","enum":["parquet","delta","json","csv"],"description":"File format."},"delimiter":{"type":"string","enum":["new_line","array"],"description":"Only for format = json. How multiple json documents are delimited within one file"}},"required":["location"]},"SftpServer":{"type":"object","title":"SftpServer","properties":{"location":{"type":"string","format":"uri","pattern":"^sftp://.*","description":"SFTP URL, starting with `sftp://`","examples":["sftp://123.123.12.123/{model}/*.json"]},"format":{"type":"string","enum":["parquet","delta","json","csv"],"description":"File format."},"delimiter":{"type":"string","enum":["new_line","array"],"description":"Only for format = json. How multiple json documents are delimited within one file"}},"required":["location"]},"RedshiftServer":{"type":"object","title":"RedshiftServer","properties":{"account":{"type":"string","description":"An optional string describing the server."},"host":{"type":"string","description":"An optional string describing the host name."},"database":{"type":"string","description":"An optional string describing the server."},"schema":{"type":"string","description":"An optional string describing the server."},"clusterIdentifier":{"type":"string","description":"An optional string describing the cluster's identifier.","examples":["redshift-prod-eu","analytics-cluster"]},"port":{"type":"integer","description":"An optional string describing the cluster's port.","examples":[5439]},"endpoint":{"type":"string","description":"An optional string describing the cluster's endpoint.","examples":["analytics-cluster.example.eu-west-1.redshift.amazonaws.com:5439/analytics"]}},"additionalProperties":true,"required":["account","database","schema"]},"AzureServer":{"type":"object","title":"AzureServer","properties":{"location":{"type":"string","format":"uri","description":"Path to Azure Blob Storage or Azure Data Lake Storage (ADLS), supports globs. Recommended pattern is 'abfss://<container_name>/<path>'","examples":["abfss://my_container_name/path","abfss://my_container_name/path/*.json","az://my_storage_account_name.blob.core.windows.net/my_container/path/*.parquet","abfss://my_storage_account_name.dfs.core.windows.net/my_container_name/path/*.parquet"]},"format":{"type":"string","enum":["parquet","delta","json","csv"],"description":"File format."},"delimiter":{"type":"string","enum":["new_line","array"],"description":"Only for format = json. How multiple json documents are delimited within one file"}},"required":["location","format"]},"SqlserverServer":{"type":"object","title":"SqlserverServer","properties":{"host":{"type":"string","description":"The host to the database server","examples":["localhost"]},"port":{"type":"integer","description":"The port to the database server.","default":1433,"examples":[1433]},"database":{"type":"string","description":"The name of the database.","examples":["database"]},"schema":{"type":"string","description":"The name of the schema in the database.","examples":["dbo"]}},"required":["host","database","schema"]},"SnowflakeServer":{"type":"object","title":"SnowflakeServer","properties":{"account":{"type":"string","description":"An optional string describing the server."},"database":{"type":"string","description":"An optional string describing the server."},"schema":{"type":"string","description":"An optional string describing the server."}},"required":["account","database","schema"]},"DatabricksServer":{"type":"object","title":"DatabricksServer","properties":{"host":{"type":"string","description":"The Databricks host","examples":["dbc-abcdefgh-1234.cloud.databricks.com"]},"catalog":{"type":"string","description":"The name of the Hive or Unity catalog"},"schema":{"type":"string","description":"The schema name in the catalog"}},"required":["catalog","schema"]},"DataframeServer":{"type":"object","title":"DataframeServer","required":["type"]},"GlueServer":{"type":"object","title":"GlueServer","properties":{"account":{"type":"string","description":"The AWS Glue account","examples":["1234-5678-9012"]},"database":{"type":"string","description":"The AWS Glue database name","examples":["my_database"]},"location":{"type":"string","format":"uri","description":"The AWS S3 path. Must be in the form of a URL.","examples":["s3://datacontract-example-orders-latest/data/{model}"]},"format":{"type":"string","description":"The format of the files","examples":["parquet","csv","json","delta"]}},"required":["account","database"]},"PostgresServer":{"type":"object","title":"PostgresServer","properties":{"host":{"type":"string","description":"The host to the database server","examples":["localhost"]},"port":{"type":"integer","description":"The port to the database server."},"database":{"type":"string","description":"The name of the database.","examples":["postgres"]},"schema":{"type":"string","description":"The name of the schema in the database.","examples":["public"]}},"required":["host","port","database","schema"]},"OracleServer":{"type":"object","title":"OracleServer","properties":{"host":{"type":"string","description":"The host to the oracle server","examples":["localhost"]},"port":{"type":"integer","description":"The port to the oracle server.","examples":[1523]},"serviceName":{"type":"string","description":"The name of the service.","examples":["service"]}},"required":["host","port","serviceName"]},"KafkaServer":{"type":"object","title":"KafkaServer","description":"Kafka Server","properties":{"host":{"type":"string","description":"The bootstrap server of the kafka cluster."},"topic":{"type":"string","description":"The topic name."},"format":{"type":"string","description":"The format of the message. Examples: json, avro, protobuf.","default":"json"}},"required":["host","topic"]},"PubSubServer":{"type":"object","title":"PubSubServer","properties":{"project":{"type":"string","description":"The GCP project name."},"topic":{"type":"string","description":"The topic name."}},"required":["project","topic"]},"KinesisDataStreamsServer":{"type":"object","title":"KinesisDataStreamsServer","description":"Kinesis Data Streams Server","properties":{"stream":{"type":"string","description":"The name of the Kinesis data stream."},"region":{"type":"string","description":"AWS region.","examples":["eu-west-1"]},"format":{"type":"string","description":"The format of the record","examples":["json","avro","protobuf"]}},"required":["stream"]},"TrinoServer":{"type":"object","title":"TrinoServer","properties":{"host":{"type":"string","description":"The Trino host URL.","examples":["localhost"]},"port":{"type":"integer","description":"The Trino port."},"catalog":{"type":"string","description":"The name of the catalog.","examples":["hive"]},"schema":{"type":"string","description":"The name of the schema in the database.","examples":["my_schema"]}},"required":["host","port","catalog","schema"]},"LocalServer":{"type":"object","title":"LocalServer","properties":{"path":{"type":"string","description":"The relative or absolute path to the data file(s).","examples":["./folder/data.parquet","./folder/*.parquet"]},"format":{"type":"string","description":"The format of the file(s)","examples":["json","parquet","delta","csv"]}},"required":["path","format"]},"Quality":{"allOf":[{"type":"object","properties":{"type":{"type":"string","description":"The type of quality check","enum":["text","library","sql","custom"]},"description":{"type":"string","description":"A plain text describing the quality attribute in natural language."}}},{"if":{"properties":{"type":{"const":"text"}}},"then":{"required":["description"]}},{"if":{"properties":{"type":{"const":"sql"}}},"then":{"properties":{"query":{"type":"string","description":"A SQL query that returns a single number to compare with the threshold."},"dialect":{"type":"string","description":"The SQL dialect that is used for the query. Should be compatible to the server.type.","examples":["athena","bigquery","redshift","snowflake","trino","postgres","oracle"]},"mustBe":{"type":"number"},"mustNotBe":{"type":"number"},"mustBeGreaterThan":{"type":"number"},"mustBeGreaterThanOrEqualTo":{"type":"number"},"mustBeLessThan":{"type":"number"},"mustBeLessThanOrEqualTo":{"type":"number"},"mustBeBetween":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"mustNotBeBetween":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2}},"required":["query"]}},{"if":{"properties":{"type":{"const":"library"}}},"then":{"properties":{"rule":{"type":"string","description":"Define a data quality check based on the predefined rules as per ODCS.","examples":["duplicateCount","validValues","rowCount"]},"mustBe":{"description":"Must be equal to the value to be valid. When using numbers, it is equivalent to '='."},"mustNotBe":{"description":"Must not be equal to the value to be valid. When using numbers, it is equivalent to '!='."},"mustBeGreaterThan":{"type":"number","description":"Must be greater than the value to be valid. It is equivalent to '>'."},"mustBeGreaterOrEqualTo":{"type":"number","description":"Must be greater than or equal to the value to be valid. It is equivalent to '>='."},"mustBeLessThan":{"type":"number","description":"Must be less than the value to be valid. It is equivalent to '<'."},"mustBeLessOrEqualTo":{"type":"number","description":"Must be less than or equal to the value to be valid. It is equivalent to '<='."},"mustBeBetween":{"type":"array","description":"Must be between the two numbers to be valid. Smallest number first in the array.","minItems":2,"maxItems":2,"uniqueItems":true,"items":{"type":"number"}},"mustNotBeBetween":{"type":"array","description":"Must not be between the two numbers to be valid. Smallest number first in the array.","minItems":2,"maxItems":2,"uniqueItems":true,"items":{"type":"number"}}},"required":["rule"]}},{"if":{"properties":{"type":{"const":"custom"}}},"then":{"properties":{"description":{"type":"string","description":"A plain text describing the quality attribute in natural language."},"engine":{"type":"string","examples":["soda","great-expectations"],"description":"The engine used for custom quality checks."},"implementation":{"type":["object","array","string"],"description":"Engine-specific quality checks and expectations."}},"required":["engine"]}}]},"Lineage":{"type":"object","properties":{"inputFields":{"type":"array","items":{"type":"object","properties":{"namespace":{"type":"string","description":"The input dataset namespace"},"name":{"type":"string","description":"The input dataset name"},"field":{"type":"string","description":"The input field"},"transformations":{"type":"array","items":{"type":"object","properties":{"type":{"description":"The type of the transformation. Allowed values are: DIRECT, INDIRECT","type":"string"},"subtype":{"type":"string","description":"The subtype of the transformation"},"description":{"type":"string","description":"a string representation of the transformation applied"},"masking":{"type":"boolean","description":"is transformation masking the data or not"}},"required":["type"],"additionalProperties":true}}},"additionalProperties":true,"required":["namespace","name","field"]}},"transformationDescription":{"type":"string","description":"a string representation of the transformation applied","deprecated":true},"transformationType":{"type":"string","description":"IDENTITY|MASKED reflects a clearly defined behavior. IDENTITY: exact same as input; MASKED: no original data available (like a hash of PII for example)","deprecated":true}},"additionalProperties":true,"required":["inputFields"]}}}
</schema>

[User] Provide a JSON object that satisfies the schema "DataContractSpecification". Here are the required top‑level fields: dataContractSpecification, id, info. Return only the valid JSON object.

DataContractSpecification

DataContractSpecificationVersion

Specifies the Data Contract Specification being used.

Specifies the identifier of the data contract.

The title of the data contract.

The version of the data contract document (which is distinct from the Data Contract Specification version or the Data Product implementation version).

The status of the data contract. Can be proposed, in development, active, retired.

proposed
in development
active
deprecated
retired

A description of the data contract.

The owner or team responsible for managing the data contract and providing the data.

The identifying name of the contact person/organization.

The URL pointing to the contact information. This MUST be in the form of a URL.

The email address of the contact person/organization. This MUST be in the form of an email address.

Contact information for the data contract.

Metadata and life cycle information about the data contract.

Information about the servers.

The terms and conditions of the data contract.

The usage describes the way the data is expected to be used. Can contain business and technical information.

The limitations describe the restrictions on how the data can be used, can be technical or restrictions on what the data may not be used for.

The type of the policy.

A description of the policy.

A URL to the policy document.

The billing describes the pricing model for using the data, such as whether it's free, having a monthly fee, or metered pay-per-use.

The period of time that must be given by either party to terminate or modify a data usage agreement. Uses ISO-8601 period format, e.g., 'P3M' for a period of three months.

Specifies the logical data model. Use the models name (e.g., the table name) as the key.

Model

The type of the model. Examples: table, view, object. Default: table.

ModelType

An optional string providing a human readable name for the model. Especially useful if the model name is cryptic or contains abbreviations.

Specifies a field in the data model. Use the field name (e.g., the column name) as the key.

Field

An optional string describing the semantic of the data in this field.

An optional string providing a human readable name for the field. Especially useful if the field name is cryptic or contains abbreviations.

An indication, if this field must contain a value and may not be null.

The nested fields (e.g. columns) of the object, record, or struct.

If this field is a primary key.

The reference to a field in another model. E.g. use 'orders.order_id' to reference the order_id field of the model orders. Think of defining a foreign key relationship.

An indication, if the value must be unique within the model.

A value must be equal to one of the elements in this array value. Only evaluated if the value is not null.

A value must greater than, or equal to, the value of this. Only applies to string types.

A value must less than, or equal to, the value of this. Only applies to string types.

A specific format the value must comply with (e.g., 'email', 'uri', 'uuid').

The maximum number of digits in a number. Only applies to numeric values. Defaults to 38.

The maximum number of decimal places in a number. Only applies to numeric values. Defaults to 0.

A regular expression the value must match. Only applies to string types.

A value of a number must greater than, or equal to, the value of this. Only evaluated if the value is not null. Only applies to numeric values.

A value of a number must greater than the value of this. Only evaluated if the value is not null. Only applies to numeric values.

A value of a number must less than, or equal to, the value of this. Only evaluated if the value is not null. Only applies to numeric values.

A value of a number must less than the value of this. Only evaluated if the value is not null. Only applies to numeric values.

An example value for this field.

A examples value for this field.

An indication, if this field contains Personal Identifiable Information (PII).

The data class defining the sensitivity level for this field, according to the organization's classification scheme.

Custom metadata to provide additional context.

Links to external resources.

Link

A URL to an external resource.

A reference URI to a definition in the specification, internally or externally. Properties will be inherited from the definition.

Additional metadata for field configuration.

Specify the field type to use when exporting the data model to Apache Avro.

Specify the logical field type to use when exporting the data model to Apache Avro.

Specify the physical column type that is used in a BigQuery table, e.g., `NUMERIC(5, 2)`.

Specify the physical column type that is used in a Snowflake table, e.g., `TIMESTAMP_LTZ`.

Specify the physical column type that is used in a Redshift table, e.g., `SMALLINT`.

Specify the physical column type that is used in a SQL Server table, e.g., `DATETIME2`.

Specify the physical column type that is used in a Databricks Unity Catalog table.

Specify the physical column type that is used in an AWS Glue Data Catalog table.

The compound primary key of the model.

Additional metadata for model configuration.

The namespace to use when importing and exporting the data model from / to Apache Avro.

Clear and concise explanations of syntax, semantic, and classification of business objects in a given domain.

Definition

The domain in which this definition is valid.

This field is deprecated. Encode the domain into the ID using slashes.

The technical name of this definition.

This field is deprecated. Encode the name into the ID using slashes.

The business name of this definition.

Clear and concise explanations related to the domain.

The nested fields (e.g. columns) of the object, record, or struct.

A value must be greater than or equal to this value. Applies only to string types.

A value must be less than or equal to this value. Applies only to string types.

Specific format requirements for the value (e.g., 'email', 'uri', 'uuid').

A regular expression pattern the value must match. Applies only to string types.

An example value.

Example value.

Indicates if the field contains Personal Identifiable Information (PII).

The data class defining the sensitivity level for this field.

Custom metadata to provide additional context.

Links to external resources.

Link

A URL to an external resource.

Specifies the service level agreements for the provided data, including availability, data retention policies, latency requirements, data freshness, update frequency, support availability, and backup policies.

Availability refers to the promise or guarantee by the service provider about the uptime of the system that provides the data.

An optional string describing the availability service level.

The server is available during support hours

An optional string describing the guaranteed uptime in percent (e.g., `99.9%`)

Retention covers the period how long data will be available.

An optional string describing the retention service level.

An optional period of time, how long data is available. Supported formats: Simple duration (e.g., `1 year`, `30d`) and ISO 8601 duration (e.g, `P1Y`).

An optional indicator that data is kept forever.

An optional reference to the field that contains the timestamp that the period refers to.

Latency refers to the maximum amount of time from the source to its destination.

An optional string describing the latency service level.

Data is available within 25 hours after the order was placed.

An optional maximum duration between the source timestamp and the processed timestamp. Supported formats: Simple duration (e.g., `24 hours`, `5s`) and ISO 8601 duration (e.g, `PT24H`).

An optional reference to the field that contains the timestamp when the data was provided at the source.

An optional reference to the field that contains the processing timestamp, which denotes when the data is made available to consumers of this data contract.

The maximum age of the youngest row in a table.

An optional string describing the freshness service level.

The age of the youngest row in a table is within 25 hours.

An optional maximum age of the youngest entry. Supported formats: Simple duration (e.g., `24 hours`, `5s`) and ISO 8601 duration (e.g., `PT24H`).

An optional reference to the field that contains the timestamp that the threshold refers to.

Frequency describes how often data is updated.

An optional string describing the frequency service level.

The method of data processing.

Optional. Only for batch: How often the pipeline is triggered, e.g., `daily`.

Optional. Only for batch: A cron expression when the pipelines is triggered. E.g., `0 0 * * *`.

Support describes the times when support will be available for contact.

An optional string describing the support service level.

The data is available during typical business hours at headquarters.

An optional string describing the times when support will be available for contact such as `24/7` or `business hours only`.

An optional string describing the time it takes for the support team to acknowledge a request. This does not mean the issue will be resolved immediately, but it assures users that their request has been received and will be dealt with.

Backup specifies details about data backup procedures.

An optional string describing the backup service level.

Data is backed up once a week, every Sunday at 0:00 UTC.

An optional interval that defines how often data will be backed up, e.g., `daily`.

An optional cron expression when data will be backed up, e.g., `0 0 * * *`.

An optional Recovery Time Objective (RTO) specifies the maximum amount of time allowed to restore data from a backup after a failure or loss event (e.g., 4 hours, 24 hours).

An optional Recovery Point Objective (RPO) defines the maximum acceptable age of files that must be recovered from backup storage for normal operations to resume after a disaster or data loss event. This essentially measures how much data you can afford to lose, measured in time (e.g., 4 hours, 24 hours).

Links to external resources.

Link

A URL to an external resource.

Tags to facilitate searching and filtering.

FieldType

The logical data type of the field.

number decimal numeric int integer long bigint float double string text varchar boolean timestamp timestamp_tz timestamp_ntz date array map object record struct bytes null

An optional string describing the servers.

The environment in which the servers are running. Examples: prod, sit, stg.

The type of the data product technology that implements the data contract.

bigquery BigQuery s3 sftp redshift azure sqlserver snowflake databricks dataframe glue postgres oracle kafka pubsub kinesis trino local

An optional array of roles that are available and can be requested to access the server for role-based access control. E.g. separate roles for different regions or sensitive data.

The name of the role.

A description of the role and what access the role provides.

BigQueryServer

The GCP project name.

The GCP dataset name.

S3Server

S3 URL, starting with `s3://`

The server endpoint for S3-compatible servers.

File format.

Only for format = json. How multiple json documents are delimited within one file

SftpServer

SFTP URL, starting with `sftp://`

File format.

RedshiftServer

An optional string describing the server.

An optional string describing the host name.

An optional string describing the cluster's identifier.

An optional string describing the cluster's port.

An optional string describing the cluster's endpoint.

AzureServer

Path to Azure Blob Storage or Azure Data Lake Storage (ADLS), supports globs. Recommended pattern is 'abfss://<container_name>/<path>'

File format.

SqlserverServer

The host to the database server

The port to the database server.

The name of the database.

The name of the schema in the database.

SnowflakeServer

DatabricksServer

The Databricks host

The name of the Hive or Unity catalog

The schema name in the catalog

DataframeServer

GlueServer

The AWS Glue account

The AWS Glue database name

The AWS S3 path. Must be in the form of a URL.

The format of the files

PostgresServer

The host to the database server

The port to the database server.

The name of the database.

The name of the schema in the database.

OracleServer

The host to the oracle server

The port to the oracle server.

The name of the service.

KafkaServer

Kafka Server

The bootstrap server of the kafka cluster.

The topic name.

The format of the message. Examples: json, avro, protobuf.

PubSubServer

The GCP project name.

The topic name.

KinesisDataStreamsServer

Kinesis Data Streams Server

The name of the Kinesis data stream.

AWS region.

The format of the record

TrinoServer

The Trino host URL.

The Trino port.

The name of the catalog.

The name of the schema in the database.

LocalServer

The relative or absolute path to the data file(s).

The format of the file(s)

The type of quality check

A plain text describing the quality attribute in natural language.

A SQL query that returns a single number to compare with the threshold.

The SQL dialect that is used for the query. Should be compatible to the server.type.

athena bigquery redshift snowflake trino postgres oracle

Define a data quality check based on the predefined rules as per ODCS.

Must be equal to the value to be valid. When using numbers, it is equivalent to '='.

Must not be equal to the value to be valid. When using numbers, it is equivalent to '!='.

Must be greater than the value to be valid. It is equivalent to '>'.

Must be greater than or equal to the value to be valid. It is equivalent to '>='.

Must be less than the value to be valid. It is equivalent to '<'.

Must be less than or equal to the value to be valid. It is equivalent to '<='.

Must be between the two numbers to be valid. Smallest number first in the array.

Must not be between the two numbers to be valid. Smallest number first in the array.

The engine used for custom quality checks.

Engine-specific quality checks and expectations.

The input dataset namespace

The input dataset name

The input field

The type of the transformation. Allowed values are: DIRECT, INDIRECT

The subtype of the transformation

a string representation of the transformation applied

is transformation masking the data or not

IDENTITY|MASKED reflects a clearly defined behavior. IDENTITY: exact same as input; MASKED: no original data available (like a hash of PII for example)

Provide a JSON object that satisfies the schema "DataContractSpecification". Here are the required top‑level fields: dataContractSpecification, id, info. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/datalogic-scan2deploy-android.json","definitions":{},"description":"Schema to validate Android JSON files given as input to DL-Config to generate Scan2Deploy barcodes","properties":{"layout":{"$id":"#/properties/layout","type":"object","title":"Layout Schema","properties":{"description":{"$id":"#/properties/layout/properties/description","type":"string","title":"Description Schema","default":"none","examples":["This is for our Android devices"],"maxLength":350},"enroll":{"$id":"#/properties/layout/properties/enroll","type":"boolean","title":"Enroll Schema","default":false,"examples":[true]}}},"padlock":{"$id":"#/properties/padlock","type":"object","title":"Padlock Schema","description":"Section used to configure the staging locking feature","properties":{"valid-until":{"$id":"#/properties/padlock/properties/valid-until","type":"string","title":"Valid-Until Schema","description":"Specifies the expiration date of the barcode sequence. Device date must be synchronized/configured for expiration date to work properly.","default":"20991231235959","examples":["20991231235959"]},"key":{"$id":"#/properties/padlock/properties/key","type":"string","title":"Key Schema","description":"Padlock key to be used. If value doesn't match the device, the barcode is rejected. Empty string means no key.","default":"","examples":["ihavenomouthandimustscream"]},"state":{"$id":"#/properties/padlock/properties/state","type":"string","enum":["locked","unlocked"],"title":"State Schema","description":"Configures the padlock state","default":"undefined","examples":["locked"]},"hide-from-launcher":{"$id":"#/properties/padlock/properties/hide-from-launcher","type":"boolean","title":"Hide-From-Launcher Schema","description":"Indicates if Scan2Deploy should be disabled after staging is complete. Once disabled, factory reset required to re-enable.","default":false,"examples":[false]}}},"global":{"$id":"#/properties/global","type":"object","title":"Global Schema","description":"Section used to configure application scoped settings","properties":{"target-path":{"$id":"#/properties/global/properties/target-path","type":"string","title":"Target-Path Schema","description":"Base destination folder where any archive/fill will be inflated/written. Default is device internal SD-card root","examples":["/mnt/sdcard/airwatch"]},"install-path":{"$id":"#/properties/global/properties/install-path","type":"string","title":"Install-Path Schema","description":"Folder where the application expects auto-installed/auto-updated APKs to be found. Default is value specified in 'target path'.","examples":["/mnt/sdcard/airwatch"]},"update-path":{"$id":"#/properties/global/properties/update-path","type":"string","title":"Update-Path Schema","description":"Folder where the application expects auto-updated OTA packages to be found. Default is value specified in 'target path'.","examples":["/mnt/sdcard/airwatch"]},"purge-target-path":{"$id":"#/properties/global/properties/purge-target-path","type":"boolean","title":"Purge-Target-Path Schema","description":"Indicates if target specified in 'target-path' needs to be purged (deleted) prior to inflation of the deployment archive","default":true,"examples":[true]},"auto-scan":{"$id":"#/properties/global/properties/auto-scan","type":"boolean","title":"Auto-Scan Schema","description":"Enables/Disables the auto-update of APKs and OTA packages","default":false,"examples":[true]},"download-preinstalled":{"$id":"#/properties/global/properties/download-preinstalled","type":"boolean","title":"Download-Preinstalled Schema","description":"Used to force the downgrade of pre-installed application (even System app), if required","default":false,"examples":[false]},"script":{"$id":"#/properties/global/properties/script","type":["string","array"],"title":"Script Schema","description":"A string specifying the absolute/relative path of a file, or a JSON array of strings describing the file content line-by-line. The script file will be interpreted last in staging process.","items":{"$id":"#/properties/global/properties/script/items","type":"string","title":"Items Schema","default":"","examples":["[Install]","INSTALL /sdcard/Download/fa.apk","[Post-Install]","SHELL am start -a android.intent.action.MAIN -n com.example.mchew.fakeapp/.MainActivity"]},"default":"","examples":["setup.s"]},"action":{"$id":"#/properties/global/properties/action","type":"string","enum":["none","close","enterprise-reset","factory-reset","reset"],"title":"Action Schema","description":"Specifies the final action performed by the application at the end of the staging process.","default":"none","examples":["close"]},"backup-to-enterprise":{"$id":"#/properties/global/properties/backup-to-enterprise","type":"boolean","title":"Backup-To-Enterprise Schema","description":"Activates the enterprise backup persistence for the staging data, resulting in both the staging script and archive being copied to the enterprise partition","default":false,"examples":[true]}}},"settings":{"$id":"#/properties/settings","type":"object","title":"Settings Schema","description":"Section used to control inner device settings that typically need to be changed from the Android defaults","properties":{"date-time":{"$id":"#/properties/settings/properties/date-time","type":"string","title":"Date-Time Schema","description":"String representation in RFC-1123 format of the date to be set","default":"null","examples":["Thu, 19 Apr 2018 07:51:37 GMT"]},"auto-time":{"$id":"#/properties/settings/properties/auto-time","type":"boolean","title":"Auto-Time Schema","description":"Controls the 'Date & Time' automatic date-time adjustment setting","default":true,"examples":[false]},"auto-time-zone":{"$id":"#/properties/settings/properties/auto-time-zone","type":"boolean","title":"Auto-Time-Zone Schema","description":"Controls the 'Date & Time' automatic time-zone adjustment setting","default":true,"examples":[false]},"auto-time-server":{"$id":"#/properties/settings/properties/auto-time-server","type":"string","title":"Auto-Time-Server Schema","description":"Address of the NTP server to be used for date-time synchronization","default":"null","examples":["pool.ntp.org"]},"debug-bridge":{"$id":"#/properties/settings/properties/debug-bridge","type":"boolean","title":"Debug-Bridge Schema","description":"Controls the state of 'Android Debug Bridge'","default":true,"examples":[false]},"lock-screen":{"$id":"#/properties/settings/properties/lock-screen","type":"boolean","title":" Lock-Screen Schema","description":"Controls the state of Android's lock-screen, requiring the user to swipe the display to unlock the device","default":true,"examples":[false]},"status-bar":{"$id":"#/properties/settings/properties/status-bar","type":"boolean","title":"Status-Bar Schema","description":"Controls the display of the top status-bar. Note: hiding the status-bar will make notification disappear.","default":true,"examples":[false]},"navigation-bar":{"$id":"#/properties/settings/properties/navigation-bar","type":"boolean","title":"Navigation-Bar Schema","description":"Controls the display of the bottom navigation-bar","default":true,"examples":[true]},"charge-threshold":{"$id":"#/properties/settings/properties/charge-threshold","type":"integer","title":"Charge-Threshold Schema","description":"Indicates the charge threshold a battery exhausted device needs to reach to automatically boot when recharging","default":5,"examples":[0],"minimum":0,"maximum":100},"usb-profile":{"$id":"#/properties/settings/properties/usb-profile","type":"string","enum":["NONE","BOTH","DATA","CHARGE"],"title":"Usb-Profile Schema","description":"USB communication profile in use","default":"BOTH","examples":["NONE"]},"usb-function":{"$id":"#/properties/settings/properties/usb-function","type":"string","enum":["MTP","PTP","CHARGING"],"title":"Usb-Function Schema","description":"USB communication function in use","default":"CHARGING","examples":["CHARGING"]}}},"network":{"$id":"#/properties/network","type":"object","title":"Network Schema","description":"Section used to configure the device Wi-Fi network","properties":{"essid":{"$id":"#/properties/network/properties/essid","type":"string","title":"Essid Schema","description":"Wireless network ESSID","default":"tsunami","examples":["TESTTKIP"]},"hidden":{"$id":"#/properties/network/properties/hidden","type":"boolean","title":"Hidden Schema","description":"Indicates if the wireless network is using a hidden ESSID","default":false,"examples":[false]},"mode":{"$id":"#/properties/network/properties/mode","type":"string","enum":["open","wep-40","wep-104","wpa-psk","wpa2-psk","wpa-eap","wpa2-eap"],"title":"Mode Schema","description":"Wireless connection mode","default":"open","examples":["wpa-psk"]},"mode-key":{"$id":"#/properties/network/properties/mode-key","type":"string","title":"Mode-Key Schema","description":"Wireless network key, if needed","default":"","examples":["datalogic"]},"mode-key-encrypted":{"$id":"#/properties/network/properties/mode-key-encrypted","type":"boolean","title":"Mode-Key-Encrypted Schema","description":"Indicates if 'mode-key' is written in plain-text or encrypted with a custom encryption algorithm","default":false,"examples":[false]},"eap-method":{"$id":"#/properties/network/properties/eap-method","type":"string","enum":["none","peap","tls","ttls","pwd","sim","aka","aka-prime"],"title":"Eap-Method Schema","description":"Configures the EAP authentication method","default":"none","examples":["none"]},"eap-phase2":{"$id":"#/properties/network/properties/eap-phase2","type":"string","enum":["none","pap","mschap","mschapv2","gtc"],"title":"Eap-Phase2 Schema","description":"Configures the EAP phase 2 authentication method","default":"none","examples":["none"]},"eap-identity":{"$id":"#/properties/network/properties/eap-identity","type":"string","title":"Eap-Identity Schema","description":"Indicates the EAP identity","default":"","examples":[""]},"eap-anonymous-identity":{"$id":"#/properties/network/properties/eap-anonymous-identity","type":"string","title":"Eap-Anonymous-Identity Schema","description":"Indicates the EAP anonymous identity, used as the unencrypted identity with certain EAP types","default":"","examples":[""]},"eap-password":{"$id":"#/properties/network/properties/eap-password","type":"string","title":"Eap-Password Schema","description":"EAP password, if needed","default":"","examples":[""]},"eap-password-encrypted":{"$id":"#/properties/network/properties/eap-password-encrypted","type":"boolean","title":"Eap-Password-Encrypted Schema","description":"Indicates if the 'eap-password' is encrypted with a custom encryption algorithm","default":false,"examples":[false]},"eap-certificate":{"$id":"#/properties/network/properties/eap-certificate","type":"string","title":"Eap-Certificate Schema","description":"Base64 representation of the EAP certificate to use","default":"","examples":[""]},"proxy-host":{"$id":"#/properties/network/properties/proxy-host","type":"string","title":"Proxy-Host Schema","description":"Server name or IP address of the proxy to be used for HTTP/HTTPS communications","default":"","examples":[""]},"proxy-port":{"$id":"#/properties/network/properties/proxy-port","type":"integer","title":"Proxy-Port Schema","description":"Server IP port of the proxy for HTTP/HTTPS communications","default":0,"examples":[0],"minimum":0,"maximum":65535},"purge":{"$id":"#/properties/network/properties/purge","type":"boolean","title":"Purge Schema","description":"Indicates if any currently configured wireless network needs to be removed. Can be useful to avoid profile roaming.","default":true,"examples":[true]},"reconfigure":{"$id":"#/properties/network/properties/reconfigure","type":"boolean","title":"Reconfigure Schema","description":"If true, will reconfigure any existing and matching network. If false, will leave existing network untouched. Setting used when 'purge' is set to false.","default":true,"examples":[false]},"sleep-policy":{"$id":"#/properties/network/properties/sleep-policy","type":"integer","title":"Sleep-Policy Schema","description":"Wireless sleep policy for Android's Settings.Global parameter (0-WIFI_SLEEP_POLICY_DEFAULT, 1-WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED, 2-WIFI_SLEEP_POLICY_NEVER)","default":2,"examples":[2],"minimum":0,"maximum":2},"frequency-band":{"$id":"#/properties/network/properties/frequency-band","type":"string","enum":["auto","5ghz","2ghz"],"title":"Frequency-Band Schema","description":"Controls the frequency bands supported by the device","default":"auto","examples":["auto"]},"save-to-file":{"$id":"#/properties/network/properties/save-to-file","type":"string","title":"Save-To-File Schema","description":"Absolute path to the file where the current network configuration will be saved, empty string indicates network configuration won't be serialized to a file","default":"","examples":[""]},"ephemeral":{"$id":"#/properties/network/properties/ephemeral","type":"boolean","title":"Ephemeral Schema","description":"If true, wireless connection profile will be used during staging process, then deleted after staging. If false, wireless connection profile will still be present after staging process.","default":true,"examples":[false]},"wait-for-connection":{"$id":"#/properties/network/properties/wait-for-connection","type":"boolean","title":"Wait-For-Connection Schema","description":"Indicates whether a valid Wi-Fi connection has to be waited once the network configuration is complete. Can be useful when device needs to be configured but a valid Wi-Fi connection is not ready yet.","default":true,"examples":[true]}},"if":{"properties":{"mode":{"enum":["wpa-psk","wpa2-psk","wep-40","wep-104"]}}},"then":{"required":["mode-key"]}},"deployment":{"$id":"#/properties/deployment","type":"object","title":"Deployment Schema","description":"Section can be used to download a ZIP archive from a server and inflate it to the 'target-path' folder","properties":{"scheme":{"$id":"#/properties/deployment/properties/scheme","type":"string","enum":["http","https"],"title":"Scheme Schema","description":"Deployment download scheme to use","default":"http","examples":["http"]},"host":{"$id":"#/properties/deployment/properties/host","type":"string","title":"Host Schema","description":"Host-name or internet-protocol address of the server from which the resource is to be fetched","examples":["172.19.0.77"]},"port":{"$id":"#/properties/deployment/properties/port","type":"integer","title":"Port Schema","description":"TCP/IP port to be used to contact the server","default":80,"examples":[8080],"minimum":0,"maximum":65535},"path":{"$id":"#/properties/deployment/properties/path","type":"string","title":"Path Schema","description":"Path to the server resource to download, complete with query string if needed","default":"","examples":["/airwatch.zip"]},"fetch-timeout":{"$id":"#/properties/deployment/properties/fetch-timeout","type":"integer","title":"Fetch-Timeout Schema","description":"The timeout value used when fetching resource from host","default":60000,"examples":[60000]},"check-timeout":{"$id":"#/properties/deployment/properties/check-timeout","type":"integer","title":"Check-Timeout Schema","description":"The timeout value used when attempting to reach the host server","default":1000,"examples":[1000]},"working-archive":{"$id":"#/properties/deployment/properties/working-archive","type":"string","title":"Working-Archive Schema","description":"String representation of the archive path-file name, once downloaded","default":"/mnt/sdcard/scan2deploy.archive","examples":["/mnt/sdcard/target.zip"]},"skip-inflation":{"$id":"#/properties/deployment/properties/skip-inflation","type":"boolean","title":"Skip-Inflation Schema","description":"Instructs the application not to inflate the deployment archive once downloaded, can be useful to speed the OTA update process up","default":false,"examples":[true]}},"required":["host"]},"blobs":{"$id":"#/properties/blobs","type":"array","title":"Blobs Schema","description":"Section used to transfer binary data to newly created file on device","items":{"$id":"#/properties/blobs/items","type":"object","title":"Items Schema","required":["file","content"],"properties":{"file":{"$id":"#/properties/blobs/items/properties/file","type":"string","title":"File Schema","description":"Path to the file to be created. Can be either absolute or relative to the global/target-path parameter value. During file de-serialization, any required (parent) path is automatically created.","examples":["/mnt/sdcard/airwatch/credentials.bin"]},"content":{"$id":"#/properties/blobs/items/properties/content","type":"string","title":"Content Schema","description":"Base64 representation of the actual file content","examples":["fd09B1iL/k4jRWrjrP0/sO44teY+B3UafBLsMsCEqd1KOv6b6JYBXLVv70FmHdZhIVoEOQvHu7O4PUJStpZQ+4PYjPqCO+NQr81M7GOF421Ke8L2u4EYyqDE5qXfLy2shEgaRwRpr2f35/38WZkh6edyiWZQJjyLeZcuI7WiaJPpw7Jcw7ye7mb7Rl+ePNFmfvUrpeRFtN+5kUsx/SbB1v0gDyOOuoep"]}}}}},"title":"Android-Scan2Deploy Schema","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "Android-Scan2Deploy Schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Schema to validate Android JSON files given as input to DL-Config to generate Scan2Deploy barcodes

Layout Schema

Description Schema

Enroll Schema

Padlock Schema

Section used to configure the staging locking feature

Valid-Until Schema

Specifies the expiration date of the barcode sequence. Device date must be synchronized/configured for expiration date to work properly.

Key Schema

Padlock key to be used. If value doesn't match the device, the barcode is rejected. Empty string means no key.

State Schema

Configures the padlock state

Hide-From-Launcher Schema

Indicates if Scan2Deploy should be disabled after staging is complete. Once disabled, factory reset required to re-enable.

Global Schema

Section used to configure application scoped settings

Target-Path Schema

Base destination folder where any archive/fill will be inflated/written. Default is device internal SD-card root

Install-Path Schema

Folder where the application expects auto-installed/auto-updated APKs to be found. Default is value specified in 'target path'.

Update-Path Schema

Folder where the application expects auto-updated OTA packages to be found. Default is value specified in 'target path'.

Purge-Target-Path Schema

Indicates if target specified in 'target-path' needs to be purged (deleted) prior to inflation of the deployment archive

Auto-Scan Schema

Enables/Disables the auto-update of APKs and OTA packages

Download-Preinstalled Schema

Used to force the downgrade of pre-installed application (even System app), if required

Script Schema

A string specifying the absolute/relative path of a file, or a JSON array of strings describing the file content line-by-line. The script file will be interpreted last in staging process.

Items Schema

SHELL am start -a android.intent.action.MAIN -n com.example.mchew.fakeapp/.MainActivity

none close enterprise-reset factory-reset reset

Action Schema

Specifies the final action performed by the application at the end of the staging process.

Backup-To-Enterprise Schema

Activates the enterprise backup persistence for the staging data, resulting in both the staging script and archive being copied to the enterprise partition

Settings Schema

Section used to control inner device settings that typically need to be changed from the Android defaults

Date-Time Schema

String representation in RFC-1123 format of the date to be set

Auto-Time Schema

Controls the 'Date & Time' automatic date-time adjustment setting

Auto-Time-Zone Schema

Controls the 'Date & Time' automatic time-zone adjustment setting

Auto-Time-Server Schema

Address of the NTP server to be used for date-time synchronization

Debug-Bridge Schema

Controls the state of 'Android Debug Bridge'

Lock-Screen Schema

Controls the state of Android's lock-screen, requiring the user to swipe the display to unlock the device

Status-Bar Schema

Controls the display of the top status-bar. Note: hiding the status-bar will make notification disappear.

Navigation-Bar Schema

Controls the display of the bottom navigation-bar

Charge-Threshold Schema

Indicates the charge threshold a battery exhausted device needs to reach to automatically boot when recharging

Usb-Profile Schema

USB communication profile in use

Usb-Function Schema

USB communication function in use

Network Schema

Section used to configure the device Wi-Fi network

Essid Schema

Wireless network ESSID

Hidden Schema

Indicates if the wireless network is using a hidden ESSID

Mode Schema

Wireless connection mode

Mode-Key Schema

Wireless network key, if needed

Mode-Key-Encrypted Schema

Indicates if 'mode-key' is written in plain-text or encrypted with a custom encryption algorithm

none peap tls ttls pwd sim aka aka-prime

Eap-Method Schema

Configures the EAP authentication method

Eap-Phase2 Schema

Configures the EAP phase 2 authentication method

Eap-Identity Schema

Indicates the EAP identity

Eap-Anonymous-Identity Schema

Indicates the EAP anonymous identity, used as the unencrypted identity with certain EAP types

Eap-Password Schema

EAP password, if needed

Eap-Password-Encrypted Schema

Indicates if the 'eap-password' is encrypted with a custom encryption algorithm

Eap-Certificate Schema

Base64 representation of the EAP certificate to use

Proxy-Host Schema

Server name or IP address of the proxy to be used for HTTP/HTTPS communications

Proxy-Port Schema

Server IP port of the proxy for HTTP/HTTPS communications

Purge Schema

Indicates if any currently configured wireless network needs to be removed. Can be useful to avoid profile roaming.

Reconfigure Schema

If true, will reconfigure any existing and matching network. If false, will leave existing network untouched. Setting used when 'purge' is set to false.

Sleep-Policy Schema

Wireless sleep policy for Android's Settings.Global parameter (0-WIFI_SLEEP_POLICY_DEFAULT, 1-WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED, 2-WIFI_SLEEP_POLICY_NEVER)

Frequency-Band Schema

Controls the frequency bands supported by the device

Save-To-File Schema

Absolute path to the file where the current network configuration will be saved, empty string indicates network configuration won't be serialized to a file

Ephemeral Schema

If true, wireless connection profile will be used during staging process, then deleted after staging. If false, wireless connection profile will still be present after staging process.

Wait-For-Connection Schema

Indicates whether a valid Wi-Fi connection has to be waited once the network configuration is complete. Can be useful when device needs to be configured but a valid Wi-Fi connection is not ready yet.

Deployment Schema

Section can be used to download a ZIP archive from a server and inflate it to the 'target-path' folder

Scheme Schema

Deployment download scheme to use

Host Schema

Host-name or internet-protocol address of the server from which the resource is to be fetched

Port Schema

TCP/IP port to be used to contact the server

Path Schema

Path to the server resource to download, complete with query string if needed

Fetch-Timeout Schema

The timeout value used when fetching resource from host

Check-Timeout Schema

The timeout value used when attempting to reach the host server

Working-Archive Schema

String representation of the archive path-file name, once downloaded

Skip-Inflation Schema

Instructs the application not to inflate the deployment archive once downloaded, can be useful to speed the OTA update process up

Blobs Schema

Section used to transfer binary data to newly created file on device

Items Schema

File Schema

Path to the file to be created. Can be either absolute or relative to the global/target-path parameter value. During file de-serialization, any required (parent) path is automatically created.

Content Schema

Base64 representation of the actual file content

Android-Scan2Deploy Schema

Provide a JSON object that satisfies the schema "Android-Scan2Deploy Schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/datalogic-scan2deploy-ce.json","definitions":{},"description":"Schema to validate Windows CE JSON files given as input to DL-Config to generate Scan2Deploy barcodes","properties":{"layout":{"$id":"#/properties/layout","type":"object","title":"Layout Schema","properties":{"description":{"$id":"#/properties/layout/properties/description","type":"string","title":"Description Schema","default":"none","examples":["This is for our WEC7 devices"],"maxLength":350}}},"global":{"$id":"#/properties/global","type":"object","title":"Global-Section Schema","description":"Section used to configure application scoped settings","properties":{"target-path":{"$id":"#/properties/global/properties/target-path","type":"string","title":"Target-Path Schema","description":"Base destination folder where archive/folder will be inflated","default":"\\FlashDisk","examples":["\\FlashDisk"]},"action":{"$id":"#/properties/global/properties/action","type":"string","enum":["stay","close","warm-boot","cold-boot","clean-boot"],"title":"Action Schema","description":"Specifies final action performed by the application at the end of the staging process","default":"cold-boot","examples":["warm-boot"]},"ping-timeout":{"$id":"#/properties/global/properties/ping-timeout","type":"integer","title":"Ping-Timeout Schema","description":"The timeout value used when attempting to reach the host server","default":1000,"examples":[1000],"minimum":1,"maximum":4000}}},"settings":{"$id":"#/properties/settings","type":"object","title":"Settings-Section Schema","description":"Section used to configure inner device settings","properties":{"usb-function":{"$id":"#/properties/settings/properties/usb-function","type":"string","enum":["active-sync-usb","active-sync-com","usblan","mass-storage"],"title":"USB-Function Schema","description":"USB communication function to use","default":"active-sync-usb","examples":["usblan"]}}},"network":{"$id":"#/properties/network","type":"object","title":"Network-Section Schema","description":"Section used to configure device Wi-Fi network","properties":{"profile":{"$id":"#/properties/network/properties/profile","type":"string","title":"Profile Schema","description":"\"Friendly\" name to associate with the network connection","default":"datalogic","examples":["my_fast"]},"essid":{"$id":"#/properties/network/properties/essid","type":"string","title":"Essid Schema","description":"Wireless network ESSID","default":"tsunami","examples":["eapfast"]},"mode":{"$id":"#/properties/network/properties/mode","type":"string","enum":["open","wep-40","wep-104","wpa-psk","wpa2-psk","wpa-tkip","wpa2-aes"],"title":"Mode Schema","description":"Wireless connection mode","default":"open","examples":["wpa2-aes"]},"mode-key":{"$id":"#/properties/network/properties/mode-key","type":"string","title":"Mode-Key Schema","description":"Wireless network key for 'wep-40', 'wep-104', 'wpa-psk', and 'wpa2-psk' networks","default":"","examples":["0123456789"],"minLength":5,"maxLength":63},"index":{"$id":"#/properties/network/properties/index","type":"integer","title":"Index Schema","description":"Wireless network key index for 'wep-40' and 'wep-104' networks","default":1,"examples":[1],"minimum":1,"maximum":4},"eap-method":{"$id":"#/properties/network/properties/eap-method","type":"string","enum":["none","peap","tls","ttls","fast","leap"],"title":"Eap-Method Schema","description":"Configures the EAP authentication method","default":"none","examples":["fast"]},"eap-username":{"$id":"#/properties/network/properties/eap-username","type":"string","title":"Eap-Username Schema","description":"Username for the EAP method","default":"","examples":["eapfast"]},"eap-password":{"$id":"#/properties/network/properties/eap-password","type":"string","title":"Eap-Password Schema","description":"Password for EAP method","default":"","examples":["1234567890"]},"credentials-type":{"$id":"#/properties/network/properties/credentials-type","type":"string","enum":["password","token","certificate","unknown"],"title":"Credentials-Type Schema","description":"Indicates the EAP credentials type","default":"password","examples":["password"]},"credentials-source":{"$id":"#/properties/network/properties/credentials-source","type":"string","enum":["user","logon","profile","auto","unknown"],"title":"Credentials-Source Schema","description":"Indicates the EAP credentials source","default":"user","examples":["profile"]},"validate-server":{"$id":"#/properties/network/properties/validate-server","type":"boolean","title":"Validate-Server Schema","description":"Indicates if the server certificate should be validated","default":false,"examples":[false]},"connect-to-server":{"$id":"#/properties/network/properties/connect-to-server","type":"boolean","title":"Connect-To-Server Schema","description":"Indicates if only the servers listed in the 'connect-to-server-names' list should be connected to","default":false,"examples":[false]},"connect-to-server-names":{"$id":"#/properties/network/properties/connect-to-server-names","type":"string","title":"Connect-To-Server-Names Schema","description":"Semi-colon separated list of servers that are valid to connect to during server certificate validation","default":"","examples":[""]},"server-cert-name":{"$id":"#/properties/network/properties/server-cert-name","type":"string","title":"Server-Cert-Name Schema","description":"\"Friendly\" name of the server digital certificate that should be validated","default":"","examples":[""]},"outer-identity":{"$id":"#/properties/network/properties/outer-identity","type":"string","title":"Outer-Identity Schema","description":"The outer-identity of the EAP method","default":"","examples":[""]},"fast-reconnect":{"$id":"#/properties/network/properties/fast-reconnect","type":"boolean","title":"Fast-Reconnect Schema","description":"Indicate if fast reconnect should be enabled","default":false,"examples":[false]},"inner-method":{"$id":"#/properties/network/properties/inner-method","type":"string","enum":["eap-tls","eap-MsChapV2","eap-gtc"],"title":"Inner-Method Schema","description":"Inner EAP authentication method to use","default":"eap-tls","examples":["eap-MsChapV2"]},"auto-pac":{"$id":"#/properties/network/properties/auto-pac","type":"boolean","title":"Auto-Pac Schema","description":"Indicates if automatic PAC provisioning is used for an EAP-FAST network","default":false,"examples":[true]},"pac-file-path":{"$id":"#/properties/network/properties/pac-file-path","type":"string","title":"Pac-File-Path Schema","description":"Full path to the PAC file for manual PAC provisioning","default":"","examples":[""]},"pac-aid-info":{"$id":"#/properties/network/properties/pac-aid-info","type":"string","title":"Pac-Aid-Info Schema","description":"PAC authority identity (AID) information used to select PAC from a list of PACs on the device","default":"","examples":[""]}},"if":{"properties":{"mode":{"enum":["wpa-psk","wpa2-psk","wep-40","wep-104"]}}},"then":{"required":["mode-key"]}},"deployment":{"$id":"#/properties/deployment","type":"object","title":"Deployment-Section Schema","description":"Section used to download a ZIP archive from a server and inflate it to the 'target-path' folder","properties":{"scheme":{"$id":"#/properties/deployment/properties/scheme","type":"string","enum":["http","https"],"title":"Scheme Schema","description":"Deployment download scheme to use","default":"http","examples":["http"]},"host":{"$id":"#/properties/deployment/properties/host","type":"string","title":"Host Schema","description":"Host name or internet protocol address of the server from which the resource is to be fetched","default":"","examples":["10.1.20.123"]},"port":{"$id":"#/properties/deployment/properties/port","type":"integer","title":"Port Schema","description":"TCP/IP port to be used to contact the server","default":80,"examples":[8080],"minimum":0,"maximum":65535},"path":{"$id":"#/properties/deployment/properties/path","type":"string","title":"Path Schema","description":"Path to server resource to download, complete with query string if needed","default":"","examples":["target.zip"]}},"required":["host"]},"shell":{"$id":"#/properties/shell","type":"object","title":"Shell-Section Schema","description":"Section for executable shell commands to be performed in the final staging phase","required":["cmds"],"properties":{"cmds":{"$id":"#/properties/shell/properties/cmds","type":"array","title":"Cmds Schema","description":"Each object in 'cmds' is a shell command to execute in the final phase of staging","items":{"$id":"#/properties/shell/properties/cmds/items","type":"object","title":"Items Schema","required":["app-name"],"properties":{"app-name":{"$id":"#/properties/shell/properties/cmds/items/properties/app-name","type":"string","title":"App-Name Schema","description":"Full path to the application to be executed","default":"","examples":["\\windows\\dldxu.exe"]},"args":{"$id":"#/properties/shell/properties/cmds/items/properties/args","type":"string","title":"Args Schema","description":"Command line arguments","default":"","examples":["\\FlashDisk\\target\\config.dxu"]}}}}}}},"title":"CE-Scan2Deploy Schema","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "CE-Scan2Deploy Schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Schema to validate Windows CE JSON files given as input to DL-Config to generate Scan2Deploy barcodes

Layout Schema

Description Schema

Global-Section Schema

Section used to configure application scoped settings

Target-Path Schema

Base destination folder where archive/folder will be inflated

stay close warm-boot cold-boot clean-boot

Action Schema

Specifies final action performed by the application at the end of the staging process

Ping-Timeout Schema

Settings-Section Schema

Section used to configure inner device settings

active-sync-usb active-sync-com usblan mass-storage

USB-Function Schema

USB communication function to use

Network-Section Schema

Section used to configure device Wi-Fi network

Profile Schema

"Friendly" name to associate with the network connection

Essid Schema

Wireless network ESSID

Mode Schema

Wireless connection mode

Mode-Key Schema

Wireless network key for 'wep-40', 'wep-104', 'wpa-psk', and 'wpa2-psk' networks

Index Schema

Wireless network key index for 'wep-40' and 'wep-104' networks

Eap-Method Schema

Configures the EAP authentication method

Eap-Username Schema

Username for the EAP method

Eap-Password Schema

Password for EAP method

Credentials-Type Schema

Indicates the EAP credentials type

Credentials-Source Schema

Indicates the EAP credentials source

Validate-Server Schema

Indicates if the server certificate should be validated

Connect-To-Server Schema

Indicates if only the servers listed in the 'connect-to-server-names' list should be connected to

Connect-To-Server-Names Schema

Semi-colon separated list of servers that are valid to connect to during server certificate validation

Server-Cert-Name Schema

"Friendly" name of the server digital certificate that should be validated

Outer-Identity Schema

The outer-identity of the EAP method

Fast-Reconnect Schema

Indicate if fast reconnect should be enabled

Inner-Method Schema

Inner EAP authentication method to use

Auto-Pac Schema

Indicates if automatic PAC provisioning is used for an EAP-FAST network

Pac-File-Path Schema

Full path to the PAC file for manual PAC provisioning

Pac-Aid-Info Schema

PAC authority identity (AID) information used to select PAC from a list of PACs on the device

Deployment-Section Schema

Section used to download a ZIP archive from a server and inflate it to the 'target-path' folder

Scheme Schema

Deployment download scheme to use

Host Schema

Host name or internet protocol address of the server from which the resource is to be fetched

Port Schema

TCP/IP port to be used to contact the server

Path Schema

Path to server resource to download, complete with query string if needed

Shell-Section Schema

Section for executable shell commands to be performed in the final staging phase

Cmds Schema

Each object in 'cmds' is a shell command to execute in the final phase of staging

Items Schema

App-Name Schema

Full path to the application to be executed

Args Schema

Command line arguments

CE-Scan2Deploy Schema

Provide a JSON object that satisfies the schema "CE-Scan2Deploy Schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.