{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autodesk/json-schema/autodesk-attr-mapping-page-schema.json",
  "title": "attr_mapping",
  "description": "The pagination object.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autodesk-issue-attribute-mappings-api-openapi.yml#/components/schemas/attr_mapping_page",
  "x-stoplight": {
    "id": "kw028glvwty0y"
  },
  "type": "object",
  "properties": {
    "pagination": {
      "$ref": "#/$defs/Pagination"
    },
    "results": {
      "type": "array",
      "description": "A list of issue attribute mappings.",
      "items": {
        "$ref": "#/$defs/attr_mapping"
      }
    }
  },
  "$defs": {
    "Pagination": {
      "type": "object",
      "description": "The pagination object.",
      "properties": {
        "limit": {
          "type": "integer",
          "description": "The number of items per page."
        },
        "offset": {
          "type": "integer",
          "description": "The page number that the results begin from."
        },
        "totalResults": {
          "type": "integer",
          "description": "The number of items in the response."
        }
      }
    },
    "attr_mapping": {
      "title": "attr_mapping",
      "x-stoplight": {
        "id": "e3wt184wry6i2"
      },
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the custom attribute."
        },
        "attributeDefinitionId": {
          "type": "string",
          "description": "The ID of the custom attribute definition."
        },
        "containerId": {
          "type": "string",
          "description": "Not relevant"
        },
        "title": {
          "type": "string",
          "x-stoplight": {
            "id": "zd4k05m5j6ifx"
          },
          "description": "The title of the custom attribute.\n"
        },
        "mappedItemType": {
          "type": "string",
          "x-stoplight": {
            "id": "rgkr2a56eyq5s"
          }
        },
        "mappedItemId": {
          "type": "string",
          "description": "The ID of the item (type, or subtype) the custom attribute is mapped to."
        },
        "order": {
          "type": "integer",
          "description": "The order that the custom attributes were mapped to the item (type, subtype). This is only relevant to non-inherited mappings."
        },
        "permittedActions": {
          "type": "array",
          "description": "Not relevant",
          "items": {
            "type": "string"
          }
        },
        "permittedAttributes": {
          "type": "array",
          "description": "Not relevant",
          "items": {
            "type": "string"
          }
        },
        "createdAt": {
          "type": "string",
          "description": "The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz."
        },
        "createdBy": {
          "type": "string",
          "description": "The Autodesk ID of the user who created the custom attribute."
        },
        "updatedAt": {
          "type": "string",
          "description": "The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz."
        },
        "updatedBy": {
          "type": "string",
          "description": "The Autodesk ID of the user who last updated the custom attribute."
        },
        "deletedAt": {
          "type": "string",
          "description": "The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz."
        },
        "deletedBy": {
          "type": "string",
          "description": "The Autodesk ID of the user who deleted the custom attribute."
        },
        "description": {
          "type": "string",
          "x-stoplight": {
            "id": "jcsrljuzc5ltj"
          },
          "description": "The description of the custom attribute."
        }
      }
    }
  }
}