Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Aliases Schema

Scott Smith edited this page · 1 revision
Clone this wiki locally
{
  "version": "1.0",
  "attributes": {
    "guid": "874278d1-8759-49d4-be63-54a115d0f304",
    "title": "Aliases Schema",
    "valid": {
      "from": "2013-02-11T13:21:31.598Z",
      "to": "3013-05-11T13:21:31.598Z"
    },
    "schema" : {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "id": "https://api.pmp.io/schemas/aliases",
      "description": "PMP Validation Schema for Aliases Profile",
      "type": "object",
      "required": ["attributes"],
      "properties": {
        "attributes": {
          "description": "Aliases metadata",
          "$ref": "#attributes"
        }
      },
      "definitions": {
        "alias": {
          "id": "#alias",
          "description": "Alias mapping",
          "type": "object",
          "required": ["name", "guid"],
          "properties": {
            "name": {
              "description": "Name of the alias",
              "type": "string"
            },
            "guid": {
              "description": "Guid of the alias",
              "$ref": "#guid"
            }
          }
        },
        "attributes": {
          "id": "#attributes",
          "description": "Aliases metadata object",
          "type": "object",
          "required": ["aliases"],
          "properties": {
            "aliases": {
              "description": "List of alias lists",
              "type": "array",
              "items": {
                "$ref": "#alias"
              }
            }
          }
        },
        "guid": {
          "id": "#guid",
          "description": "Unique identifier",
          "type": "string",
          "pattern": "^([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})|[a-f0-9]{32}$"
        }
      }
    }
  },
  "links": {
    "profile": [
      {
        "href": "https://api.pmp.io/profiles/schema"
      }
    ],
    "alternate": [
      {
        "href": "https://api.pmp.io/schemas/aliases"
      }
    ]
  }
}
Something went wrong with that request. Please try again.