Sha256: e538b9fddafad1a259ca6c471da631774dfebd5ed50b2ee114ef5b04f6fb8cae

Contents?: true

Size: 1.99 KB

Versions: 17

Compression:

Stored size: 1.99 KB

Contents

{
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
  "title": "Profile",
  "description": "Profile schema",
  "stability": "prototype",
  "strictProperties": true,
  "type": [
    "object"
  ],
  "definitions": {
    "name": {
      "description": "unique name of profile",
      "readOnly": true,
      "type": [
        "string"
      ]
    },
    "description": {
      "description": "description of profile",
      "readOnly": true,
      "type": [
        "string"
      ]
    },
    "identity": {
      "anyOf": [
        {
          "$ref": "/schemata/profile#/definitions/name"
        }
      ]
    }
  },
  "links": [
    {
      "description": "Create a new profile.",
      "href": "/profiles",
      "method": "POST",
      "rel": "create",
      "schema": {
        "properties": {
        },
        "type": [
          "object"
        ]
      },
      "title": "Create"
    },
    {
      "description": "Delete an existing profile.",
      "href": "/profiles/{(%2Fschemata%2Fprofile%23%2Fdefinitions%2Fidentity)}",
      "method": "DELETE",
      "rel": "destroy",
      "title": "Delete"
    },
    {
      "description": "Info for existing profile.",
      "href": "/profiles/{(%2Fschemata%2Fprofile%23%2Fdefinitions%2Fidentity)}",
      "method": "GET",
      "rel": "self",
      "title": "Info"
    },
    {
      "description": "List existing profiles.",
      "href": "/profiles",
      "method": "GET",
      "rel": "instances",
      "title": "List"
    },
    {
      "description": "Update an existing profile.",
      "href": "/profiles/{(%2Fschemata%2Fprofile%23%2Fdefinitions%2Fidentity)}",
      "method": "PATCH",
      "rel": "update",
      "schema": {
        "properties": {
        },
        "type": [
          "object"
        ]
      },
      "title": "Update"
    }
  ],
  "properties": {
    "name": {
      "$ref": "/schemata/profile#/definitions/name"
    },
    "description": {
      "$ref": "/schemata/profile#/definitions/description"
    }
  },
  "id": "/schemata/profile"
}

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
active_model_serializers_custom-0.10.90 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.9 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.8 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.7 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.6 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.5 test/support/schemas/hyper_schema.json
rspec-active_model_serializers-1.0.0 spec/support/schemas/hyper_schema.json
active_model_serializers-0.10.4 test/support/schemas/hyper_schema.json
agi_active_model_serializers-0.10.9 test/support/schemas/hyper_schema.json
agi_active_model_serializers-0.10.8 test/support/schemas/hyper_schema.json
agi_active_model_serializers-0.10.7 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.3 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.2 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.1 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.0 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.0.rc5 test/support/schemas/hyper_schema.json
active_model_serializers-0.10.0.rc4 test/support/schemas/hyper_schema.json