---
title: "EntityMeta"
url: "https://api-catalog-test.8451.com/apis/kroger-ad-platform-api-1/versions/161b884e-bbcf-458e-9b78-9eff02a00217/schemas/EntityMeta"
---

> Full API specification: https://api-catalog-test.8451.com/apis/kroger-ad-platform-api-1/versions/161b884e-bbcf-458e-9b78-9eff02a00217.md

# EntityMeta

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Kroger Ad Platform API
  version: "1"
servers:
  - url: /v1
components:
  schemas:
    PublishStatus:
      type: string
      enum:
        - EMPTY
        - PENDING
        - FAILED
        - PUBLISHED
      title: PublishStatus
    Warnings:
      properties:
        validation:
          anyOf:
            - items:
                $ref: "#/components/schemas/UpstreamValidationWarning"
              type: array
            - type: "null"
          title: validation
          description: List of validation warnings.
      type: object
      title: Warnings
    UpstreamValidationWarning:
      properties:
        detail:
          anyOf:
            - items:
                type: string
              type: array
            - type: "null"
          title: detail
          description: Details about the validation warnings.
        path:
          anyOf:
            - type: string
            - type: "null"
          title: path
          description: JSON path to the field with a validation warning.
      type: object
      title: UpstreamValidationWarning
    EntityMeta:
      properties:
        success:
          type: boolean
          title: success
          description: Whether the entity request was successful.
        message:
          anyOf:
            - type: string
            - type: "null"
          title: message
          description: Error message if the request was not successful.
        code:
          anyOf:
            - type: integer
            - type: "null"
          title: code
          description: Error code if the request was not successful.
        publishStatus:
          anyOf:
            - $ref: "#/components/schemas/PublishStatus"
            - type: "null"
          title: publishStatus
          description: Publish status of the entity.
        errors:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: "null"
          title: errors
          description: List of errors if the request was not successful.
          default: []
        warnings:
          anyOf:
            - $ref: "#/components/schemas/Warnings"
            - type: "null"
          title: warnings
          description: Upstream validation warnings.
      type: object
      required:
        - success
      title: EntityMeta
```
