| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\Config; |
| 4 |
|
| 5 |
/** |
| 6 |
* Class Schema_IDs. |
| 7 |
*/ |
| 8 |
class Schema_IDs { |
| 9 |
|
| 10 |
/** |
| 11 |
* Hash used for the Author `@id`. |
| 12 |
*/ |
| 13 |
public const AUTHOR_HASH = '#author'; |
| 14 |
|
| 15 |
/** |
| 16 |
* Hash used for the Author Logo's `@id`. |
| 17 |
*/ |
| 18 |
public const AUTHOR_LOGO_HASH = '#authorlogo'; |
| 19 |
|
| 20 |
/** |
| 21 |
* Hash used for the Breadcrumb's `@id`. |
| 22 |
*/ |
| 23 |
public const BREADCRUMB_HASH = '#breadcrumb'; |
| 24 |
|
| 25 |
/** |
| 26 |
* Hash used for the Person `@id`. |
| 27 |
*/ |
| 28 |
public const PERSON_HASH = '#/schema/person/'; |
| 29 |
|
| 30 |
/** |
| 31 |
* Hash used for the Article `@id`. |
| 32 |
*/ |
| 33 |
public const ARTICLE_HASH = '#article'; |
| 34 |
|
| 35 |
/** |
| 36 |
* Hash used for the Organization `@id`. |
| 37 |
*/ |
| 38 |
public const ORGANIZATION_HASH = '#organization'; |
| 39 |
|
| 40 |
/** |
| 41 |
* Hash used for the Organization `@id`. |
| 42 |
*/ |
| 43 |
public const ORGANIZATION_LOGO_HASH = '#/schema/logo/image/'; |
| 44 |
|
| 45 |
/** |
| 46 |
* Hash used for the logo `@id`. |
| 47 |
*/ |
| 48 |
public const PERSON_LOGO_HASH = '#/schema/person/image/'; |
| 49 |
|
| 50 |
/** |
| 51 |
* Hash used for an Article's primary image `@id`. |
| 52 |
*/ |
| 53 |
public const PRIMARY_IMAGE_HASH = '#primaryimage'; |
| 54 |
|
| 55 |
/** |
| 56 |
* Hash used for the Website's `@id`. |
| 57 |
*/ |
| 58 |
public const WEBSITE_HASH = '#website'; |
| 59 |
} |
| 60 |
|