{
  "provider": "custom",
  "label": "My product articles",
  "origin": "https://cms.example.com",
  "authHeader": "Authorization",
  "probePath": "/api/content/access",
  "readPath": "/api/content/articles/{id}",
  "idPointer": "/article/id",
  "responseIdPointer": "/created/id",
  "statusPointer": "/article/state",
  "publishedValue": "published",
  "draftValue": "draft",
  "revisionPointer": "/article/revision",
  "urlPointer": "/article/url",
  "publishedAtPointer": "/article/publishedAt",
  "fields": [
    {
      "name": "title",
      "pointer": "/article/headline"
    },
    {
      "name": "body",
      "pointer": "/article/copy"
    },
    {
      "name": "slug",
      "pointer": "/article/slug"
    },
    {
      "name": "language",
      "pointer": "/article/language"
    }
  ],
  "draft": {
    "method": "POST",
    "path": "/api/content/articles",
    "schema": "{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"headline\",\"copy\",\"slug\",\"language\"],\"properties\":{\"headline\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":200},\"copy\":{\"type\":\"string\",\"minLength\":1},\"slug\":{\"type\":\"string\",\"minLength\":1},\"language\":{\"type\":\"string\",\"minLength\":2}}}",
    "mapping": {
      "request": [
        {
          "to": "/headline",
          "from": "/title"
        },
        {
          "to": "/copy",
          "from": "/bodyMarkdown"
        },
        {
          "to": "/slug",
          "from": "/slug"
        },
        {
          "to": "/language",
          "from": "/locale"
        }
      ],
      "expected": [
        {
          "to": "/title",
          "from": "/title"
        },
        {
          "to": "/body",
          "from": "/bodyMarkdown"
        },
        {
          "to": "/slug",
          "from": "/slug"
        },
        {
          "to": "/language",
          "from": "/locale"
        }
      ]
    }
  },
  "publish": null,
  "update": null,
  "preconditionHeader": null
}
