Audience schema

{
  "type": "object",
  "additionalProperties": true,
  "required": [
    "name",
    "description"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "description": "Resource name, unique among Audience resources in this System. Used exactly in filenames and references.",
      "pattern": "^[A-Za-z0-9_-]+$"
    },
    "description": {
      "type": "string",
      "minLength": 20,
      "maxLength": 4000,
      "description": "Who these people are and their business relationship to the organization operating the System."
    },
    "context": {
      "type": "array",
      "description": "Typed business fields identifying whom the Audience's users represent or the business scope in which they act. Declare fields, not assigned values. All declared fields require values in an authorized assignment. Omit or leave empty when no such context is needed.",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["name", "label", "type"],
        "properties": {
          "name": {"type": "string", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 160, "description": "Field name, unique within this Audience context. Used exactly by Process Input sources."},
          "label": {"type": "string", "minLength": 1, "description": "Human-readable name shown when assigning a value."},
          "description": {"type": "string", "description": "Optional explanation of the field's business meaning."},
          "type": {"$ref": "Process.schema.json#/properties/inputs/items/properties/type"},
          "collection": {"$ref": "Process.schema.json#/properties/inputs/items/properties/collection"},
          "schema": {"$ref": "Process.schema.json#/properties/inputs/items/properties/schema"},
          "values": {"$ref": "Process.schema.json#/properties/inputs/items/properties/values"},
          "minimum": {"type": "number"},
          "maximum": {"type": "number"},
          "minLength": {"type": "integer", "minimum": 0},
          "maxLength": {"type": "integer", "minimum": 0}
        },
        "allOf": [
          {"if": {"properties": {"type": {"enum": ["reference", "Reference", "REFERENCE"]}}, "required": ["type"]}, "then": {"required": ["collection"]}},
          {"if": {"properties": {"type": {"enum": ["object", "Object", "OBJECT", "array", "Array", "ARRAY"]}}, "required": ["type"]}, "then": {"required": ["schema"]}}
        ]
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Audience.schema.json",
  "description": "An Audience represents a population of people grouped by their business relationship to the organization operating the System. People with the same kind of relationship share an Audience even across organizations; differences in departments, responsibilities or permissions do not create separate Audiences. An Audience represents people, not software or execution mechanisms.",
  "$id": "Audience.schema.json",
  "not": {
    "anyOf": [{"required": ["id"]}, {"required": ["processes"]}]
  }
}

Search AISDL

Search articles, the paper, references and contracts.