Identity Document

Identity documents uniquely identify a resource.

Schema

kind

string

Name of resource class

name

string

Unique key identifying exactly one resource within a class

JSON Schema:

{
    "type": "object",
    "properties": {
        "kind": {
            "type": "string",
            "description": "Name of resource class"
        },
        "name": {
            "type": "string",
            "description": "Unique key identifying exactly one resource within a class"
        }
    }
}

Example

For example, the identity document for the /etc/hosts file looks like this:

{
    "kind": "file",
    "name": "/etc/hosts"
}

Project Versions

Table Of Contents

Previous topic

Fact Document

Next topic

Prescription Document

This Page