public function get_item_schema() {
		$schema = array(
			'$schema'              => 'http://json-schema.org/draft-04/schema#',
			'title'                => 'type',
			'type'                 => 'object',
			'properties'           => array(
				'capabilities'     => array(
					'description'  => __( 'All capabilities used by the resource.' ),
					'type'         => 'array',
					'context'      => array( 'edit' ),
					'readonly'     => true,
				),
				'description'      => array(
					'description'  => __( 'A human-readable description of the resource.' ),
					'type'         => 'string',
					'context'      => array( 'view', 'edit' ),
					'readonly'     => true,
				),
				'hierarchical'     => array(
					'description'  => __( 'Whether or not the resource should have children.' ),
					'type'         => 'boolean',
					'context'      => array( 'view', 'edit' ),
					'readonly'     => true,
				),
				'labels'           => array(
					'description'  => __( 'Human-readable labels for the resource for various contexts.' ),
					'type'         => 'object',
					'context'      => array( 'edit' ),
					'readonly'     => true,
				),
				'name'             => array(
					'description'  => __( 'The title for the resource.' ),
					'type'         => 'string',
					'context'      => array( 'view', 'edit', 'embed' ),
					'readonly'     => true,
				),
				'slug'             => array(
					'description'  => __( 'An alphanumeric identifier for the resource.' ),
					'type'         => 'string',
					'context'      => array( 'view', 'edit', 'embed' ),
					'readonly'     => true,
				),
			),
		);
		return $this->add_additional_fields_schema( $schema );
	}
public function get_item_schema() {
		$schema = array(
			'$schema'              => 'http://json-schema.org/draft-04/schema#',
			'title'                => 'type',
			'type'                 => 'object',
			'properties'           => array(
				'capabilities'     => array(
					'description'  => __( 'All capabilities used by the resource.' ),
					'type'         => 'array',
					'context'      => array( 'edit' ),
					'readonly'     => true,
				),
				'description'      => array(
					'description'  => __( 'A human-readable description of the resource.' ),
					'type'         => 'string',
					'context'      => array( 'view', 'edit' ),
					'readonly'     => true,
				),
				'hierarchical'     => array(
					'description'  => __( 'Whether or not the resource should have children.' ),
					'type'         => 'boolean',
					'context'      => array( 'view', 'edit' ),
					'readonly'     => true,
				),
				'labels'           => array(
					'description'  => __( 'Human-readable labels for the resource for various contexts.' ),
					'type'         => 'object',
					'context'      => array( 'edit' ),
					'readonly'     => true,
				),
				'name'             => array(
					'description'  => __( 'The title for the resource.' ),
					'type'         => 'string',
					'context'      => array( 'view', 'edit', 'embed' ),
					'readonly'     => true,
				),
				'slug'             => array(
					'description'  => __( 'An alphanumeric identifier for the resource.' ),
					'type'         => 'string',
					'context'      => array( 'view', 'edit', 'embed' ),
					'readonly'     => true,
				),
			),
		);
		return $this->add_additional_fields_schema( $schema );
	}
public function get_item_schema ( ) { $ schema = array ( '$schema' => 'http://json-schema.org/draft-04/schema#' , 'title' => 'type' , 'type' => 'object' , 'properties' => array ( 'capabilities' => array ( 'description' => __ ( 'All capabilities used by the resource.' ) , 'type' => 'array' , 'context' => array ( 'edit' ) , 'readonly' => true , ) , 'description' => array ( 'description' => __ ( 'A human-readable description of the resource.' ) , 'type' => 'string' , 'context' => array ( 'view' , 'edit' ) , 'readonly' => true , ) , 'hierarchical' => array ( 'description' => __ ( 'Whether or not the resource should have children.' ) , 'type' => 'boolean' , 'context' => array ( 'view' , 'edit' ) , 'readonly' => true , ) , 'labels' => array ( 'description' => __ ( 'Human-readable labels for the resource for various contexts.' ) , 'type' => 'object' , 'context' => array ( 'edit' ) , 'readonly' => true , ) , 'name' => array ( 'description' => __ ( 'The title for the resource.' ) , 'type' => 'string' , 'context' => array ( 'view' , 'edit' , 'embed' ) , 'readonly' => true , ) , 'slug' => array ( 'description' => __ ( 'An alphanumeric identifier for the resource.' ) , 'type' => 'string' , 'context' => array ( 'view' , 'edit' , 'embed' ) , 'readonly' => true , ) , ) , ) ; return $ this -> add_additional_fields_schema ( $ schema ) ; }
Get the Post type's schema, conforming to JSON Schema

@return array
Get the Post type s schema conforming to JSON Schema