{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "additionalProperties": false,
  "definitions": {
    "ConfigPlugin": {
      "oneOf": [
        {
          "type": "object"
        },
        {
          "enum": [false]
        }
      ]
    }
  },
  "id": "https://json.schemastore.org/postcssrc.json",
  "properties": {
    "parser": {
      "description": "A special syntax parser (for example, SCSS).",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "enum": [false]
        }
      ]
    },
    "stringifier": {
      "description": "A special syntax output generator (for example, Midas).",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "enum": [false]
        }
      ]
    },
    "syntax": {
      "description": "An object providing a syntax parser and a stringifier.",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "enum": [false]
        }
      ]
    },
    "map": {
      "description": "Source map options.",
      "enum": [false, "absolute", "inline", "sourcesContent"]
    },
    "from": {
      "description": "The input file name (most runners set it automatically).",
      "type": "string"
    },
    "to": {
      "description": "The output file name (most runners set it automatically).",
      "type": "string"
    },
    "plugins": {
      "oneOf": [
        {
          "description": "An array of plugins.",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConfigPlugin"
          }
        },
        {
          "description": "An object of options.",
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/ConfigPlugin"
          }
        }
      ]
    }
  },
  "type": "object"
}
