AARCHMRS Schema 2.7.4

↚ Home

Valuesets.ImplementationDefined object

An ImplementationDefined valueset allows an implementation to define its own set of values.

Architecture can constrain a set of values that can be defined by the implementation, by providing constraints in the values property.

object

Properties Type Description
_meta Meta
See Meta for more information.
_type
Enum
Valuesets.ImplementationDefined
values
array [
ValuesetAbstract
]

A list of values that an implementation is constraint to.

If no values are defined, the architecture does not constrain the implementation.

Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.
Examples
{
    "_type": "Valuesets.ImplementationDefined", 
    "values": [
        {
            "_type": "Values.Value", 
            "meaning": "Armv8 debug architecture.", 
            "value": "'0110'"
        }, 
        {
            "_type": "Values.Value", 
            "meaning": "Armv9 debug architecture", 
            "value": "'00001'"
        }
    ]
}

Schema http://json-schema.org/draft-04/schema#

{
  "info": [
    "An `ImplementationDefined` valueset allows an implementation to define its own set of values.",
    [
      "Architecture can constrain a set of values that can be defined by the ",
      "implementation, by providing constraints in the `values` property."
    ]
  ],
  "examples": [
    {
      "_type": "Valuesets.ImplementationDefined",
      "values": [
        {
          "_type": "Values.Value",
          "meaning": "Armv8 debug architecture.",
          "value": "'0110'"
        },
        {
          "_type": "Values.Value",
          "meaning": "Armv9 debug architecture",
          "value": "'00001'"
        }
      ]
    }
  ],
  "type": "object",
  "properties": {
    "_meta": {
      "$ref": "../Meta.json"
    },
    "_type": {
      "enum": [
        "Valuesets.ImplementationDefined"
      ]
    },
    "values": {
      "type": "array",
      "info": [
        "A list of values that an implementation is constraint to.",
        "If no values are defined, the architecture does not constrain the implementation."
      ],
      "items": {
        "$ref": "ValuesetAbstract.json#/definitions/values"
      }
    }
  },
  "title": "Valuesets.ImplementationDefined",
  "required": [
    "values"
  ],
  "$schema": "http://json-schema.org/draft-04/schema#",
  "additionalProperties": false
}