{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-devops/json-schema/microsoft-azure-devops-wiki-page-schema.json",
  "title": "WikiPage",
  "description": "A wiki page with its content and metadata",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-devops-wiki-pages-api-openapi.yml#/components/schemas/WikiPage",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Numeric ID of the page in the wiki repository"
    },
    "path": {
      "type": "string",
      "description": "Path of the wiki page"
    },
    "content": {
      "type": "string",
      "description": "Markdown content of the page"
    },
    "order": {
      "type": "integer",
      "description": "Display order of the page among siblings"
    },
    "isNonConformant": {
      "type": "boolean",
      "description": "Whether the page violates wiki naming conventions"
    },
    "isParentPage": {
      "type": "boolean",
      "description": "Whether this page has child pages"
    },
    "gitItemPath": {
      "type": "string",
      "description": "Path of the corresponding file in the Git repository"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "URL to access this page via the REST API"
    },
    "remoteUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL to view the page in a web browser"
    },
    "subPages": {
      "type": "array",
      "description": "Child pages of this page (if recursion was requested)",
      "items": {
        "$ref": "#/$defs/WikiPage"
      }
    },
    "_links": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "href": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  },
  "$defs": {
    "WikiPage": {
      "type": "object",
      "description": "A wiki page with its content and metadata",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Numeric ID of the page in the wiki repository"
        },
        "path": {
          "type": "string",
          "description": "Path of the wiki page"
        },
        "content": {
          "type": "string",
          "description": "Markdown content of the page"
        },
        "order": {
          "type": "integer",
          "description": "Display order of the page among siblings"
        },
        "isNonConformant": {
          "type": "boolean",
          "description": "Whether the page violates wiki naming conventions"
        },
        "isParentPage": {
          "type": "boolean",
          "description": "Whether this page has child pages"
        },
        "gitItemPath": {
          "type": "string",
          "description": "Path of the corresponding file in the Git repository"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL to access this page via the REST API"
        },
        "remoteUrl": {
          "type": "string",
          "format": "uri",
          "description": "URL to view the page in a web browser"
        },
        "subPages": {
          "type": "array",
          "description": "Child pages of this page (if recursion was requested)",
          "items": {
            "$ref": "#/$defs/WikiPage"
          }
        },
        "_links": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "properties": {
              "href": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      }
    }
  }
}