{
    "definitions": {
        "medication_verification": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "definitions": {
                "response": {
                    "properties": {
                        "medication_verification": {
                            "$ref": "#/definitions/medication_verification",
                            "required": [
                                "patient_guid",
                                "verified_by_uid",
                                "verified_by_name",
                                "verified_at"
                            ]
                        }
                    },
                    "required": [
                        "medication_verification"
                    ],
                    "type": [
                        "object"
                    ]
                }
            },
            "description": "API for knowing whether a patient's medication has been verified",
            "links": [
                {
                    "description": "Retrieve current medication verification",
                    "href": "/medication_verification",
                    "method": "GET",
                    "rel": "self",
                    "targetSchema": {
                        "$ref": "#/definitions/medication_verification/definitions/response"
                    },
                    "title": "Show"
                },
                {
                    "description": "Create a new medication verification",
                    "href": "/medication_verification",
                    "method": "POST",
                    "rel": "create",
                    "targetSchema": {
                        "$ref": "#/definitions/medication_verification/definitions/response"
                    },
                    "title": "Create"
                }
            ],
            "properties": {
                "patient_guid": {
                    "description": "The patient's GUID",
                    "example": "7b678e3a85316ac3b16e4be3ffd33011",
                    "format": "uuid",
                    "type": [
                        "string"
                    ]
                },
                "verified_at": {
                    "description": "When the practice user valided the patient's medications",
                    "example": "2015-11-24T10:11:12Z",
                    "format": "date",
                    "type": [
                        "string"
                    ]
                },
                "verified_by_name": {
                    "description": "The name of the practice user who validated the patient's medications",
                    "example": "Fred Jones",
                    "type": [
                        "string"
                    ]
                },
                "verified_by_uid": {
                    "description": "The UID of the practice user who validated the patient's medications",
                    "example": "7b678e3a85316ac3b16e4be3ffd33011",
                    "format": "uuid",
                    "type": [
                        "string"
                    ]
                }
            },
            "title": "Medication Verification Resource",
            "type": [
                "object"
            ]
        }
    },
    "description": "Medication Verification API v3",
    "links": [
        {
            "href": "https://production.icisapp.com/api/v3",
            "rel": "self"
        }
    ],
    "properties": {
        "medication_verification": {
            "$ref": "#/definitions/medication_verification"
        }
    },
    "title": "Medication Verification API v3",
    "type": [
        "object"
    ]
}